In my code I've connected to the WebView's load-finished event. The particular callback function takes a webview object and frame object as arguments. Then I tried executing get_dom_document() on the frame & the webview objects respectively. It seems this method doesn't exist for those objects...
PS: i started with the tips i got here h...
Hi,
I am in the process of adding drag and drop support to an existing Mono/C#/GTK# application. I was wondering whether it was possible to use RGBA transparency on the icons that appear under the mouse pointer when I start dragging an object.
So far, I realized the following:
I can set the bitmap in question by calling the Gtk.Drag.S...
I'm just starting to explore the use of libwebkit in GTK+ applications on Ubuntu 10.04. I was curious about whether SVG with SMIL animation would be supported, so I created a small test using python-webkit:
import gtk
import webkit
view = webkit.WebView()
sw = gtk.ScrolledWindow()
sw.add(view)
win = gtk.Window(gtk.WINDOW_TOPLEVE...
Is there a way to change the default font size in the Swing GTK LaF?
The GTK LaF seems to assume 72dpi, so all the fonts are only 3/4 of the size they should be when using a 96dpi screen. See this Fedora bug for details. I'd like to find a workaround in the meantime, while I wait for the fix.
I've already tried resetting the font size ...
I'd like to make the background of a Gtk+ window transparent so that only the widgets in the window are visible. I found a few tutorials:
http://mikehearn.wordpress.com/2006/03/26/gtk-windows-with-alpha-channels/
http://macslow.thepimp.net/?p=26
But they both appear to listen to the "expose" event, and then delegate to Cairo to do the...
I currently load a DrawingArea widget inside a Frame - and it always expands to fill the frame. I can then set the configure event on the DrawingArea to allocate a pixmap of the same size as the window, draw on it, then draw the pixmap to the DrawingArea (using draw_drawable).
However, now I want to overlay invisible widgets ontop of th...
Hi,
I justa want to know if there's a class like GtkFileChooserDialog in Cocoa. This class is used in gtk for opening a file.
...
Is there an easy way to request that a GTK widget have a minimum width/height? I know you can do it on the column of a TreeView, but is it available for general widgets?
...
I've just started using Seed for development. One thing that Seed's web page mentions is that it "Maps C-isms (say, out arguments, or enums) to things that make sense in JavaScript." Unfortunately, I can't find any documentation or examples for how out arguments should work. So, for example, the following call in Seed:
window.get_size()...
After following the official tutorial here: tutorial
I'm still having issues adding rows/creating a TreeIter object. Here's what my code looks like:
builder = gtk.Builder()
self.treeview = builder.get_object("treeview")
self.treestore = gtk.TreeStore(str)
self.treeview.set_model(self.treestore)
self.id = gtk.TreeV...
I use GtkAboutDialog and everything works fine except the close button of this widget. All other buttons works fine, I don't know how but all buttons have default callbacks and they create and destroy the windows.
But the "Close" button of GtkAboutDialog widget does not work. I can not even see it's widget. So, can I access it?
[CLARIF...
Hi All,
Is there any class in Linux system which is compatible to NSTextView in cocoa framework.
...
Hi All,
Is is possible to add bullets and numbering on text in GtkTextView.
If so, please let me know with link for tutorial(if exists).
Regards,
iSight
...
Hi All,
I have an application where UI language is in English,
how can i make its UI set to other languages such as Italy.
...
Hi All,
How can i add bullets and number using GTKTextView in Linux working environment.
...
I have a TreeView connected to a model (a ListStore). The TreeView shows the data that is stored in the ListStore and the ListStore gets updated when the user enters data into a cell, so you could say it works fine.
Except in the following case: once the user is done editing, he presses a button in order to go to the next step. If the u...
I've gotten a sortable treeview working. Clicking on the columns makes it sort by ascending order, and clicking it again makes it sort by descending order. However, if I click on the column header a third time, it goes to some "unsorted" state, instead of back to ascending. I connected a function to the clicked signal of the column, and ...
Does GTK (on GNU/Linux) support Arabic localisation, if so how can it be done?
...
Hi,
How can i get all the texts which are misspelled on gtktextview
so that i can put those on container and use for future actions.
...
I'm popping-up a GtkMenu at random coordinates on the screen (outside of my application's main window). I'd like to give keyboard focus to this GtkMenu.
Since I'm using Windows, I tried:
SetForegroundWindow(GDK_WINDOW_HWND(menu->window));
But that causes the menu to immediately disappear, as does:
SetFocus(GDK_WINDOW_HWND(menu->wind...