Re: Displaying a (simple) list of strings

2007-12-05 Thread asdf
I need to improve my google search skills! That's a very useful tutorial - thanks. Regards, Salman Ahmed --- Dave Howorth <[EMAIL PROTECTED]> wrote: > > Have you read this one? > > > Cheers, Dave ___

Re: Displaying a (simple) list of strings

2007-12-05 Thread asdf
--- Matí­as Alejandro Torres <[EMAIL PROTECTED]> wrote: > An example of a GtkTreeView with a couple of strings. > > About the 10 items limit I don't know how to do that. Maybe if you can > get the requested size of a row ( gtk_cell_renderer_get_size () ), > multiplying it by 10 and setting thi

Re: Function to list all windows opened by the current process?

2007-12-05 Thread Ed Catmur
On Wed, 2007-12-05 at 22:52 +0100, Peter Hildebrandt wrote: > is there a function I can use to get a list of all windows opened by the > process currently running? The idea is to cleanly terminate all windows > once the application window has been closed and gtk_main returned. > > I have loo

Function to list all windows opened by the current process?

2007-12-05 Thread Peter Hildebrandt
Hi *, is there a function I can use to get a list of all windows opened by the process currently running? The idea is to cleanly terminate all windows once the application window has been closed and gtk_main returned. I have looked around the API docs but did not find a good way to do this.

win32: FileChooserWidget + gtk_window_set_deletable

2007-12-05 Thread Felix Kater
Hi, could anyone please say if this should be considered a bug -- if so, I'd file an issue at bugzilla: * use win32 (not yet tested on linux) * create toplevel window * gtk_window_set_deletable(window,FALSE) [this is the critical part] * place a FileChooserWidget into window * show window * click

Re: Finding API documentation by function name

2007-12-05 Thread Raja Mukherji
Sorry, I meant to type docextract instead of docbook. On Dec 5, 2007 10:48 AM, Murray Cumming <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-12-05 at 09:42 +, Raja Mukherji wrote: > > Hi, > > Thanks for the advice, I will try using docbook with a custom script > > to convert the output as necessa

Re: Finding API documentation by function name

2007-12-05 Thread Murray Cumming
On Wed, 2007-12-05 at 09:42 +, Raja Mukherji wrote: > Hi, > Thanks for the advice, I will try using docbook with a custom script > to convert the output as necessary. At the moment I'm simply using > sgrep to search the html files in devhelp and converting them to plain > text with html2text;

Re: Finding API documentation by function name

2007-12-05 Thread Raja Mukherji
Hi, Thanks for the advice, I will try using docbook with a custom script to convert the output as necessary. At the moment I'm simply using sgrep to search the html files in devhelp and converting them to plain text with html2text; it's crude but it gives me some information about which methods hav

Re: Displaying a (simple) list of strings

2007-12-05 Thread Dave Howorth
asdf wrote: > Hi, > > I am just getting started with GTK+ programming using C. And after having > spent a > few hours going through the GTK+ 2.0 tutorial, I am having a hard time > understanding > and writing code to display a bunch of strings in a List (TreeView) widget. Have you read this one