Apparently when I run some 32-bit apps I created using gtkD on Win64 systems with Symantec Endpoint Protection installed and network drives mapped, and try to bring up a file dialog, something in the runtime attempts to load SnacNp64.dll, a 64-bit DLL, into 32-bit address space. This DLL is a component of Symantec Endpoint Protection th...
The following code
import gtk
import nautilus
import os
def alert(message):
"""A function to debug"""
dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_CLOSE, message)
dialog.run()
dialog.destroy()
class TestExtension(nautilus.MenuProvider):
def __init__(self):
pass
def ge...
Hi,
As far as I understand, DirectFB offers hardware acceleration for many kinds of graphics cards. Additionally, it's smaller, faster, and uses up less memory than X11. Why then, is it not more mainstream than it is now?
Here's what I'm really unsure about: Do common GTK+/Qt programs need to be ported to it? On the DirectFB site, ther...
Hello,
I need to remove all and clear GList in my gtk+ application. How can i do this?
Thank you
...
I have a gtk TextView in a maximized window and I want to know how many characters a line can fit before you have to scroll.
...
Hello,
I am trying to run my GTK app on Windows XP and I am having troubles with an import. I have installed the following as needed and recommended:
python-2.6.msi
gtk2-runtime.2-16.6.exe
pycairo-1.8.6.exe
pygobject-2.20.0
pygtk-2.16.0.exe
pyserial-2.5.exe
However, I am getting the following error when running my script:
Tracebac...
Hi,
I was wondering if this was possible. Mostly I want to understand what GNOME does exactly? Couldn't one just run applications, given the availability of GTK+, and of course X11? Of course, I'm not sure (which is why I'm asking the question), but it looks to me that GNOME just "organizes" the GUI to make it more of a desktop, and of...
Hi,
There are shadows under all the windows in Ubuntu. My question is, is this done through X11, Compiz, GTK+, or otherwise?
Thanks!
...
I am working on a defect in my GTK code for displaying context menus. After creating a menu with a number of menu items, I use gtk_menu_popup() to display the menu. This function takes a function pointer of type GtkMenuPositionFunc which lets me position the menu. I don't really do anything here except tell GTK to keep current position b...
Hi all. I've been trying to Google this answer with no results. I keep on finding answers on how to make Netbeans run in a GTK skin .... this is NOT what I want.
I have a Java Swing application. I can preview it under GTK+, C/X Motif perfectly fine when I right click the JPanel Form --> Preview. However, whenever I try to run the pro...
Hello all,
In order to learn GTK programming, I am building a simple GTK application that reads files in a directory and displays them as icons. I am trying to build something like the Nautilus icon view file explorer. I know the right pane uses GTK IconView but what does the left pane use to display list of places?
Also I have looked at...
THe Bindings for the GTK library in Javascript maintained by Gnome, are they asynchronous or synchronous calls? I have not been able to find details one way or the other.
I would like to develop a NodeJS module for GTK for desktop app creation.
...
Hi.
I'm creating GTK+ application that has embedded Ruby interpreter, small logic functions w/o side effects (those who only return some values) are working ok already, but I would like Ruby scripts to interact with main programs widgets. I know there is ruby-gtk2 gem, but how do I tell Ruby that widget passed from C must be wrapped wit...
Hello :)
I'm making simple code editor in GTK and gtksourceview2.0. I would like to add to my editor a code completion window. There should be 10-15 keywords (always the same).
Can anyone could give me url for some tutorials or describe usage of gtk_source_completion_XXX functions?
...
In PyGTK what is the easiest way to figure out the dimensions of a widget? I know that it is easy to do with the gtk.Window object, but I can't find in the reference manual any way to get dimensions for the other objects.
Any help is greatly appreciated thanks :D
...
Using Python + PyGTK.
Is there a signal/event way of checking for a window resize? If so then what is the easiest way of implementing and using this signal.
...
I'm trying to write a Cairo program to black-fill the entire image and then draw another rectangle inside of it a different color. Eventually, I'm going to make this a program that generates a .png of the current time that looks like a digital clock. For now, this is where I'm getting hung up.
Here's my code:
#include <stdio.h>
#includ...
Hi Experts,
I want to retrieve the position of mouse pointer in webkit's webview widget. So I tried to connect it like this.
gtk_signal_connect (GTK_OBJECT (gtk_widget_get_toplevel(web_view)), "motion-notify-event",
(GtkSignalFunc) motion_notify_event, NULL);
But the callback functions gets never called when mou...
I used to write some pygtk apps for Windows, but the GTK for Windows library is always pain to maintain. I discovered XChat for Windows using a 472KB minigtk.dll.
Can I too use this as standard gtk alternative for pygtk and others?
...
gcc -o program program.c `pkg-config --libs --cflags gtk+-2.0`
When I run the program, it show both the GUI and the terminal. How can I hide the terminal?
...