Re: Changing (default) keybindings

2006-05-18 Thread Calum Benson
On Tue, 2006-05-16 at 21:59 +0200, Enrico Tröger wrote: Users of my app asked for changeable keys, so I thought I make all changeable. Now I'm convinced, I make only these changeable, which my app itself defines, and I will let all stock items on their default. gtk+ menu shortcuts (but not

Is this TreeModel memory leak or something wrong in my code???

2006-05-18 Thread Viktors Petrovs
Hello, i'm trying to use GtkListStore. I'm calling this function many times (i use timer) and i see growing memory used by my program in Gnome System Monitor. What am i doing wrong? void test_add_delete_line (void) { GtkWidget *TreeView = lookup_widget (GTK_WIDGET (MainWindow),

Is this TreeModel memory leak or something wrong in my code???

2006-05-18 Thread Viktors Petrovs
Hello, i'm trying to use GtkListStore. I'm calling this function many times (i use timer) and i see growing memory used by my program in Gnome System Monitor. What am i doing wrong? void test_add_delete_line (void) { GtkWidget *TreeView = lookup_widget (GTK_WIDGET (MainWindow),

Simple Help Window

2006-05-18 Thread Peter Robinson
Hi folks, please forgive what is possible a stupid question, but I would appreciate any hints/tips about the best way to set up a simple help system with 4-5 relatively simple pages and howtos for an application I am working on (my first GTK prog...). Is there a way to create a simple HTML

GdkModifiers bitmask and GDK_SHIFT_MASK question

2006-05-18 Thread Enrico Tröger
Hi, I have another problem regarding keyboard shortcuts: in my code I set a bitmask in the following way: GdkModifier modifiers = GDK_SHIFT_MASK | GDK_CONTROL_MASK; guint key = GDK_r; So, this should represent Ctrl+Shift+r. In the callback function for a key-press-event I have the following

Re: GdkModifiers bitmask and GDK_SHIFT_MASK question

2006-05-18 Thread Yeti
On Fri, May 19, 2006 at 01:51:07AM +0200, Enrico Tröger wrote: I have another problem regarding keyboard shortcuts: in my code I set a bitmask in the following way: GdkModifier modifiers = GDK_SHIFT_MASK | GDK_CONTROL_MASK; guint key = GDK_r; So, this should represent Ctrl+Shift+r. True,

Re: Simple Help Window

2006-05-18 Thread Tristan Van Berkom
Peter Robinson wrote: Hi folks, please forgive what is possible a stupid question, but I would appreciate any hints/tips about the best way to set up a simple help system with 4-5 relatively simple pages and howtos for an application I am working on (my first GTK prog...). Is there a way to

Weird Segfaulting

2006-05-18 Thread Jordan Walsh
Ok. I have been scratching my head on this one for a couple days now. First here is the code: http://dega.hopto.org/database.c The problem is this. That read_dir works fine, the first time it is run. But the second time it is called the program segfaults. I have narrowed the segfault down to

Re: #80127 Rubberbanding issues

2006-05-18 Thread Stefan Kost
hi kris, selection is unfortunately limmited to whole lines. is that also the case for the rubber-banding. I needed to misuse the cell-renderers background color to get rectangular selections. Stefan Am Dienstag, den 16.05.2006, 15:14 +0200 schrieb Kristian Rietveld: Hey all, A few months

Re: Concerns about print preview implementation

2006-05-18 Thread John (J5) Palmieri
On Mon, 2006-05-15 at 14:37 -0400, Dimi Paun wrote: On Mon, May 15, 2006 2:09 pm, Roger Leigh wrote: This is very true. However, a preview is supposed to be a preview of what will be printed. By generating the complete PDF print file, we get to see exactly what would be printed, not just

Re: Concerns about print preview implementation

2006-05-18 Thread Dimi Paun
On Thu, May 18, 2006 2:08 pm, John (J5) Palmieri wrote: I'm already writing an inline API for anyone who cares to implement a preview widget. Perfect. If the API supports it, we could transparently switch apps between external/internal viewer anytime since it becomes an implementation detail