Gtk 2.10 DnD Behaves differently then 2.8 DnD

2006-11-14 Thread Stephan Arts
Hi, As a developer of Xarchiver i have a question about DnD with Gtk 2.8.20 vs Gtk 2.10.6, in our current SVN version the DnD works with 2.8.20, which means... when you drop a file on the treeview, it calls the callback-mechanism to open it, or add it to the archive. With Gtk 2.10.6 this does

Re: gdk_gc_set_foreground(): not working over DirectFB

2006-11-14 Thread Sven Neumann
Hi, On Mon, 2006-11-13 at 14:40 +0530, Prasanna Kumar K wrote: + GdkColor color; + + color.pixel = 0x; + gdk_gc_set_foreground (widget-style-fg_gc[GTK_WIDGET_STATE (widget)], color); You are using an unallocated color here. There's gdk_gc_set_rgb_fg_color() for that purpose.

Re: Gtk+ unit tests (brainstorming)

2006-11-14 Thread Tim Janik
On Thu, 26 Oct 2006, Iago Toral Quiroga wrote: - in the common case, test results should be reduced to a single boolean: all tests passed vs. at least one test failed many test frameworks provide means to count and report failing tests (even automake's standard check:-rule),

Selection of Toogle Button in a tree view

2006-11-14 Thread Saba Khan
Helo, I want to select single toggle button in a tree as i already used toggled signal to select the check box. But problem is that when me going to select single toggle button in a tree view, multiple check boxes selected in all rows of tree view. How i can handle this issue. Please do

Re: Selection of Toogle Button in a tree view

2006-11-14 Thread Yeti
On Tue, Nov 14, 2006 at 08:10:09AM +, Saba Khan wrote: I want to select single toggle button in a tree as i already used toggled signal to select the check box. This does not make sense, the signal is *emitted* by the check box. You only catch it and change the model accordingly. But

time_out window

2006-11-14 Thread Shyjumon N.
Title: time_out window Hi all, Can anybody tell me how can make my gtk application auto loading. I have a window let's say winA and another winB, what i intended to do is i will be clicking a button from winA and it will load winB (this is present situation of my application). instead of

Re: Selection of Toogle Button in a tree view

2006-11-14 Thread Saba Khan
Hi, Here the line of code where i emmit the signal and want to select the toggle renderer. So please have a check this and help me in right way that where i should do and where i change the modal of it. Please help me out! gtk_tree_store_new(TRACK_LIST_NUM_COLS, G_TYPE_BOOLEAN,

Re: Selection of Toogle Button in a tree view

2006-11-14 Thread Yeti
On Tue, Nov 14, 2006 at 10:10:34AM +, Saba Khan wrote: Here the line of code where i emmit the signal and want to select the toggle renderer. So please have a check this and help me in right way 1. You must associate the view with the information in the model:

[no subject]

2006-11-14 Thread Shyjumon N.
hi Can any body tell me what is the reason for the following error. I am using gtk_widget_hide function. (togg:2770): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed With regds, Shyjumon N Mobile: +91-9945006965 The information contained in this

Re: your mail

2006-11-14 Thread Yeti
On Tue, Nov 14, 2006 at 05:17:43PM +0530, Shyjumon N. wrote: Can any body tell me what is the reason for the following error. I am using gtk_widget_hide function. (togg:2770): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed The thing you pass to

Re: Selection of Toogle Button in a tree view

2006-11-14 Thread Saba Khan
Hi, Thank you for this propmt reply and guiding me in right way. This link is very helpful. Thank you again for this moment. Best Regards, Saba Khan _ Windows LiveĀ™ Messenger has arrived. Click here to download it for free!

Re: help with window widgets

2006-11-14 Thread ybisou
I tried to follow your idea and this is what I did : main() { // I made ALL widgets necessary for program // enter while loop to read all values from stdin unsigned int val; char buf[5]; read(STDIN_FILENO, val, sizeof(int)); //1st voltage not used

Re: help with window widgets

2006-11-14 Thread C.R. Kirkwood-Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ybisou wrote: I tried to follow your idea and this is what I did : main() { // I made ALL widgets necessary for program // enter while loop to read all values from stdin unsigned int val; char buf[5];

Displaying system clock in gtk application

2006-11-14 Thread Shyjumon N.
Hi all, How can I display system clock (timer) on my gtk application. When the application is started, it should display 000 and when I am terminating it should display the total time the gtk application has been run. Please help me in this regard, any clues? With regds,

Coloring a cell renderer for new treeitems

2006-11-14 Thread Ashwin Ramachandran
Hi All,I have an application which has a TreeView/TreeStore.There is a cell renderer text field in each row. I have a requirement in which newly addedtree items[text fields] are colored in a different color than the existing ones. I understand that the foreground 'color' properties can be set on

changing cursor on a Gtk2::Window?

2006-11-14 Thread Sean Dague
I've been trying to figure out how to change the cursor to an hourglass on ExifTagger (http://dague.org/ExifTagger) when images are loaded, as they can take a couple of seconds, depending on the speed of your machines. The application is a perl glade-2 application, so my base window is a

Re: changing cursor on a Gtk2::Window?

2006-11-14 Thread zentara
On Tue, 14 Nov 2006 08:23:20 -0500 Sean Dague [EMAIL PROTECTED] wrote: I've been trying to figure out how to change the cursor to an hourglass on I've seen references to Gtk2::Gdk::Window still having set_cursor, but I don't really grok how one gets a Gtk2::Gdk::Window from a Gtk2::Window.

Re: Coloring a cell renderer for new treeitems

2006-11-14 Thread Torsten Schoenfeld
On Tue, 2006-11-14 at 16:24 +0530, Ashwin Ramachandran wrote: Newly added tree items are added in the tree store and get a different iter. How do I get the renderer for the newly added iters and change its foreground color? Use the model's row-inserted signal. The callback gets three