Re: gtk win32 and env variables

2005-11-06 Thread Dan McMahill
Tor Lillqvist wrote: Dan McMahill writes: > On windows, it is easy for the user to pick a different place to > install so I need to set those variables. > So my question is how do gtk apps ported to windows typically deal with > something like that? Typically they assume that all the appl

A couple of questions

2005-11-06 Thread Attilio Fiandrotti
Hi all i've two questions: 1)About GtkTreeView widgets Is it correct using the following two calls gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(view), gtk_tree_model_get_path(model, &iter), NULL, FALSE, 0.5, 0); gtk_tree_view_set_cursor (GTK_TREE_VIEW(view), gtk_tree_model_get_path(model, &ite

Re: Screen Edges

2005-11-06 Thread Nathaniel McCallum
On Sun, 2005-11-06 at 12:53 +0300, Alexey Rusakov wrote: > Nathaniel McCallum wrote: > > >I'm trying to figure out how to make a GtkWindow behave like a panel > >(ie. gnome-panel). I've looked at the gnome-panel code, but I have no > >idea even where to begin. I already have the window being non

G-Sudoku is now open source under GPL

2005-11-06 Thread Yogesh M
To know the features, screenshots about G-Sudoku visit www.yzonesoft.com/gsudoku/gsudoku.html G-Sduoku has been programmed using Gtk-2.4.0 __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

call back problems

2005-11-06 Thread Dennis Morgan
Hi, i am just wondering if there is a way to halt a call back till another one has finished using a function? At present,. i am using a treeview to display a list_store of the contents of a directory. at present i am running into probs when its a large directory, and if i click on its parent,

Re: gtk win32 and env variables

2005-11-06 Thread John Cupitt
On 11/6/05, Tor Lillqvist <[EMAIL PROTECTED]> wrote: > > Another solution for applications is to look at argv[0]. On > > Windows this is always (I think) the full path to the .exe. > > Looking at argv[0] is really not recommended on Windows. If memory > serves me right, if the path to the applicati

Re: Screen Edges

2005-11-06 Thread Alexey Rusakov
Nathaniel McCallum wrote: I'm trying to figure out how to make a GtkWindow behave like a panel (ie. gnome-panel). I've looked at the gnome-panel code, but I have no idea even where to begin. I already have the window being non-decorated and the same width of the screen. However, how do I make

Re: optimal way to use Memory Chunks

2005-11-06 Thread Gus Koppel
Olivier Sessink wrote: > I was considering to use the GMemChunk infrastructure for some of my > code, where often 50 till 5000 structs of 4 bytes are allocated. I > will use the G_ALLOC_AND_FREE mode, because many items are not used > after a while, but not all. > > I am, however, wondering if GM