gtk+

GtkIconView transprent while dragging

How do i make the GtkIconView transprent while dragging any idea? ...

play a video using gtk+

any suggestion regarding how to play videos using gtk+? Regards, Lancy Norbert Fernandes ...

dragged icon transparent in gtk+

while dragging a icon from GTKIconView , the dragged icon (which appears below the cursor) should be transparent .How do i achive that in gtk+? ...

how to build a calculator in GTK+?

what's the logic behind the calculator widget. i want to build it in gtk+. ...

image files from a directory

how do I access only image files from a directory ?(Note: directory path is being stored in the in character pointer) .the piece of code which you are going to paste should also work when any image file extension is removed.example suppose there is a Image file nature.jpg and if the extension is removed the code should work still. ...

gtk+ clear GList

Hello, I need to remove all and clear GList in my gtk+ application. How can i do this? Thank you ...

C/gtk+ take screenshot with cursor

Hello, In my gtk+ application i try to take full screen screenshot. My code: GdkPixbuf* get_screenshot(gpointer user_data) { GError* err; GdkPixbuf *screenshot; GdkWindow *root_window; MainWin* mw = MAIN_WIN(user_data); gint x_orig, y_orig; gint width, height; root_window = gdk_get_default_root_window (); g...

How to find a bug in GTK+

What is the best way to hack away a bug in GTK+? The bug in https://bugzilla.gnome.org/show_bug.cgi?id=127840 is irritating and I would like to see a working version of it. But there is just so many lines of code so how can I find the correct part of the code? I'm using DDD. ...

GtkRadioButton set active and deactive

Hello, I have 4 gtkradiobuttons in my C/gtk+ application. But all of them are active. My code: radio_button1 = gtk_radio_button_new_with_label(radio_list, "radio1"); radio_button2 = gtk_radio_button_new_with_label(radio_list, "radio2"); radio_button3 = gtk_radio_button_new_with_label(radio_list, "radio3"); radio_button4 = gtk_ra...

Gtkuimanager popup submenu

Hello, Where can i find example: popup menu with sub-menus made with GtkUiManager. Thank you ...

Migration from OSF/Motif & Xt to GTK+

I have a class called XClient written with the Xt (X Tools Intrinsic library) to setup a multisocketed connection. This XClient class was meant for OSF/Motif GUIs to extend XClient (so the GUI could talk on sockets). I am trying to migrate into a GTK+ environment which does NOT use the Xt library for portability reasons. Is it still p...

Xt (X Tools Intrinsic) Toolkit. What is an application context?

Hi. I found a GTK-Xt wrapper from SourceForge, that basically allows the creation of an XtAppContext app_context variable from GTK+. What is the purpsoe of this app_context? Will I be able to use Xt functions in conjunction with GTK+ ? Thanks, friends. ...

Integrating Wikipedia in desktop application.

Is there a way that I can integrate Wikipedia in my GTK application. like when I type some word in search entry the data related to that word in Wikipedia should be displayed on my application. ...

WebKitGTK message passing

I've been playing with WebKitGTK+ recently, in Vala and C. I want to create an application that could use a WebKit instance for the front end, but all logic and information retrieval in the backend, using Vala or C. My question is, if it is possible, how could one pass a message or bubble an event back up to the parent application throu...

issue with Python Gtk+

I can't nail exactly when/what update I did on my Lucid box but now I get: Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import gtk /usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.wa...

Possible to avoid use of global variable in this situation?

I am writing a GTK+ application in C (though the principle here is widely applicable) which contains a GtkComboBox. The GtkComboBox is part of a larger structure returned by another function and packed into the main window. I don't see how I can get the value of what is selected in the GtkComboBox other than by setting a global variable...

Control tab focus (choose next element to focus) with GTK / PyGTK

How can I force the Tab to focus the element I want, is it possible to give my software a list of elements to cycle focus ? I remember once using a property called tabindex, but I can't find it anymore. Maybe, preventing Tab to focus an element could also work ? ...

Compiling C++/GTK within Eclipse

I'm fiddling around with the C/C++ version of Eclipse to build a simple GTK app. However, I can't seem to be able to compile a GTK sample from within Eclipse. I think gtk is installed properly, used the ubuntu Package manager. the code is: #include <gtk-2.0/gtk/gtk.h> int main( int argc, char *argv[] ) { GtkWidget *window; g...

insert a bash like widget into gtk

Hi, When you write a program in c which has a lot of printf for a lot purpose: debuggin, information, etc. I would like to do something like that in gtk, having some widget that would display all the printf messages I usually would do in a normal c program Thanks, ---UPDATE--- I'm using vte as ptomato advised. Although some problems ...

GTK / PyGTK make ComboBox searchable with keyboard

Is it possible to make a ComboBox searchable ? If yes, how ? I want to be able, when the ComboBox is active and a letter is typed with the keyboard, to select the first item beginning with this letter inside the ComboBox and so on with the next letters. The is the same functionality of a ComboBox inside a webpage, for example. I can't...