Re: Need to restore a window to last size/position on restart

2007-01-15 Thread Yeti
On Mon, Jan 15, 2007 at 09:29:56AM -0800, Russell Markus wrote: I need to be able to restore the size and position of a dialog whenever the application starts. I am using the function calls: gtk_window_get_size(GTK_WINDOW(dialog1), w, h) and gtk_window_get_position(GTK_WINDOW), x, y)

How does one set background color for entire line in textview?

2007-01-15 Thread Tony Freeman
Hello, I have a function that takes the output of a spawned process and displays that in a text buffer (part of a notebook widget). When the spawned process is finished, I'd like to put some colorized text at the bottom of the text buffer/view that alerts the user that the process is done. What

thread stack size

2007-01-15 Thread Dr. Michael J. Chudobiak
Hi all, I'm trying to figure out why gthumb uses so much memory, even when it is displaying an empty folder. I've figured out that it is launching 6-8 threads, which each consume 10 MB each of writeable/private memory. pmap -d shows: mapped: 141352Kwriteable/private: 76352Kshared:

Re: cannot set tooltips over a picker widget?

2007-01-15 Thread Francesco Montorsi
Jim George ha scritto: If you know how to make it work automatically for GTK_NO_WINDOW widgets... I read that GtkLabel widgets don't have backing windows, for performance reasons. I haven't read any such comment about, say, GtkComboBoxEntry widgets. Maybe the documentation needs to be

how to increase refresh rate in Wireshark IO Graph

2007-01-15 Thread cskiraly-munka
Hi, I was looking for a real-time network traffic graph generator, and the best I've found was of course in Wireshark. Still, it has a refresh rate of 3 seconds on my computer, even if my processor is 95% idle. The reason seems to be a lazy refresh from Gtk, and I don't know how to give it some

Dynamically Changing Icons for the Applications.

2007-01-15 Thread Madhusudan E
Hi All, My Requirement: Change the icons for an icon view dynamically Same as we change Themes. My knowledge: Using gtkrc files sets the property at the widget level ( as in Notebook tabs, slider, widgets etc) GtkIcontheme can be used for this purpose, but not sure whether we can dynamically

Re: move cursor with keyboard in a window

2007-01-15 Thread ferri_marllo
when in started, i thought about gtkdatabox, but i didn't find nothing about gtkdatabox for windows system. Do you know something about gtkdatabox under windows?? thanks a lot again... ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Problems with GtkFrame

2007-01-15 Thread Michael Ott
Hi! I write a small application which show a small window. And this a GtkFrame. And this does not work correct. Here is my source code --snip-- gtk_init(argc, argv); window = g_object_new(GTK_TYPE_WINDOW, title, PACKAGE_STRING,

Re: Emulating MDI

2007-01-15 Thread cole-anstey
I've been playing around with a pet GPL project in my spare time which implements a basic MDI interface. Its on gnomefiles at http://www.gnomefiles.com/app.php/CurlyAnkles or you can see screenshots at http://curlyankles.sourceforge.net/widgets_mdi.html I'd get the latest code from CVS as I've

Re: how to set gtk global font with code?

2007-01-15 Thread Chris Vine
On Wednesday 10 January 2007 03:27, lonelycat wrote: Hi all: Can anyone tell me how to set gtk global font with code instead of editing gtkrc file? GtkSettings has a gtk-font-name property representing the default font used by the application. You can extract the settings object with

How to get alignment in treeview

2007-01-15 Thread Hariyanto
I using gtktreeview with 3 column to display some data. I set alignment Center in header column with gtk_tree_view_column_set_alignment(). And I set alignment data with g_object_set (renderer, xalign, 1.0, NULL); How I get alignment from data ? I try using gtk_tree_view_column_get_alignment(),

Re: how to set gtk global font with code?

2007-01-15 Thread zentara
On Mon, 15 Jan 2007 12:42:59 + Chris Vine [EMAIL PROTECTED] wrote: On Wednesday 10 January 2007 03:27, lonelycat wrote: Hi all: Can anyone tell me how to set gtk global font with code instead of editing gtkrc file? GtkSettings has a gtk-font-name property representing the default font

Re: How to get alignment in treeview

2007-01-15 Thread Andrea Zagli
Il giorno lun, 15/01/2007 alle 20.06 +0700, Hariyanto ha scritto: I using gtktreeview with 3 column to display some data. I set alignment Center in header column with gtk_tree_view_column_set_alignment(). And I set alignment data with g_object_set (renderer, xalign, 1.0, NULL); How I get

Simple question.

2007-01-15 Thread LWATCDR
Anyone have an example of a make file for a GTK application? Just a simple one for a helloworld would do. I am having to move from Eclipse.org to a more standard build system and I havn't dealt with makefiles for years. ___ gtk-list mailing list

Re: Simple question.

2007-01-15 Thread John Cupitt
On 1/15/07, LWATCDR [EMAIL PROTECTED] wrote: Anyone have an example of a make file for a GTK application? Just a simple one for a helloworld would do. If it's a single file, you can just do: gcc hello.c -o hello `pkg-config gtk+-2.0 --cflags --libs` Put that in a comment on the first line

Delay in Displaying Dialog

2007-01-15 Thread Marshall Lake
I'm encountering a problem in an application I'm working on which I don't understand. It may be due to a misconception I have with GTK+ functionality. The application has a main window which comes up with program execution. Further processing is driven by events initiated by the user

Question about write a new scrollbar widget inherit from GtkVScrollbar

2007-01-15 Thread MD Tsai
Hi, I'm new to write gtk widget. I'm planning to write a picasa style scrollbar, firstly, write vertical one. The new scrollbar inherit from GtkVScrollbar and with a vscale data member: struct _GtkVPScrollbar { GtkVScrollbar vscrollbar; GtkWidget *vscale; } The new scrollbar override

Re: Delay in Displaying Dialog

2007-01-15 Thread Matt Fischer
On 1/15/07, Marshall Lake [EMAIL PROTECTED] wrote: After the text being sent to the text widget ends and process flow falls back into gtk_main() then all the other widgets within the secondary dialog appear including the first few lines of text which had been missing. This line leads me to

Local version of GTK2

2007-01-15 Thread Jeffrey Ratcliffe
Sorry this is slightly off-topic: The RH machine on which I do some development work (but don't have root access) only has gtk 2.4.13 (it runs KDE). I was able to download gtk2-perl and compile a local version against this old version of gtk+ with no problem. But now, I would like to use some

Re: ProgressBar doesn't pulse

2007-01-15 Thread Ben Staude
Am Sonntag 14 Januar 2007 04:21 schrieb muppet: On Jan 13, 2007, at 5:54 PM, Ben Staude wrote: Any ideas why it doesn't work? Is this related to some Gtk/KDE interaction? This typically happens when you don't return control the main loop. Does your program respond at all while it's

Re: Local version of GTK2

2007-01-15 Thread Emmanuele Bassi
On Mon, 2007-01-15 at 17:36 +0100, Jeffrey Ratcliffe wrote: Sorry this is slightly off-topic: The RH machine on which I do some development work (but don't have root access) only has gtk 2.4.13 (it runs KDE). I was able to download gtk2-perl and compile a local version against this old