Re: complie error

2005-11-16 Thread Allin Cottrell
On Thu, 17 Nov 2005, yeajchao wrote: I encountered a simple problem while compile a simple program the program and the complie infomation as follow /**/ #include int main (int argc, char **argv) { GtkWidget *window; /* init threads */ g_th

Re: Help system library using GTK

2005-11-16 Thread Allin Cottrell
On Thu, 17 Nov 2005, Deekshit Mantampady wrote: I tried to write my own Help library for my application using GtkHTML. But there no good ducementaion. Now I am looking into GnuCash help system source for help. 1) Is there help subsystem library written using GTK ? Any format of help files wil

complie error

2005-11-16 Thread yeajchao
Hello all I encountered a simple problem while compile a simple program the program and the complie infomation as follow /**/ #include int main (int argc, char **argv) { GtkWidget *window; /* init threads */ g_thread_init(NULL); gd

Help system library using GTK

2005-11-16 Thread Deekshit Mantampady
Hi all, I want to have a help subsystem in my application, and i am using GTK.(No GNOME APIs). But I couldn't find any help system package (like winhelp). I was looking for the one, written in GTK and I should be able to compile the source in windows and Linux. I tried to write my own Help l

Re: How to get a GtkSizeGroup? (with attachment)

2005-11-16 Thread Jaap Haitsma
Jaap Haitsma wrote: Hi, I have a number of comboboxes that I want to have exactly the same size, and also I want them to align vertically. I can't use a table because in the dialog I want to use them there will be some text in between. Somebody on this list pointed me to use GtkSizeGroup. H

How to get a GtkSizeGroup?

2005-11-16 Thread Jaap Haitsma
Hi, I have a number of comboboxes that I want to have exactly the same size, and also I want them to align vertically. I can't use a table because in the dialog I want to use them there will be some text in between. Somebody on this list pointed me to use GtkSizeGroup. However using that I s

Re: multithread

2005-11-16 Thread Nickolai Dobrynin
One tiny comment. 'sleep' is not necessarily what you want to use in a multi-threaded program, as it puts the entire process to sleep. A thread-aware version of 'sleep' called 'nanosleep' (#include ) may be more suitable for you. If I am not mistaken, 'sleep' only operates on a multiple of 1 second

Does such a widget exist?

2005-11-16 Thread Stefano Esposito
Hi all, i need a widget that displays mobile/fixed points and fixed rectangles and which is capable to catch mouse-click events. Does such a widget exist somewhere in the world? :) Bye Stefano -- "Solo due cose sono infinite: l'universo e la stupidità umana... e per quanto riguarda l'univers

Re: GtkTreeView

2005-11-16 Thread Claudio Saavedra
On Mon, 2005-11-14 at 16:39 +1000, tcleaver wrote: [...] > > My limited understanding is that these iterations are so that the TreeView > knows the maximum sizes/formatting of each cell (get_value is called from > gtk_tree_view_column_cell_set_cell_data) so as to calculate things such > as visibil

Re: multithread

2005-11-16 Thread Bryan Christ
How accurate does your timer need to be? If it doesn't have to be very precise, I would do something like... gpointer my_thread(gpointer anything) { gbooleanexit_flag=TRUE; while(exit_flag==FALSE) { exit_flag=do_work(); sleep(timer

multithread

2005-11-16 Thread yeajchao
Hello everybody my program involved in multithread but I have no any idea about it in my program,there need two threads,and each thread has a timer when the timer is timeout ,it will awake the corresponding thread, and after the thread finished its work,it will sleep again ,w

Re: Is there a way to use Pango Markup in GtkTextBuffer

2005-11-16 Thread Tim Müller
On Tue, 2005-11-15 at 15:33 -0600, Douglas Vechinski wrote: > Is there any convenient way to insert text using the Pango Markup > language into a GtkTextBuffer. Such functions exist for GtkLabel and > GtkCellView but I haven't seen any for GtkTextBuffer. If none exist, is > there a reason they d