One quick question...

2003-02-20 Thread Kyle Cardoza
Hi. I just have a quick question for someone vell-versed in the internals of GTK. Hypothetically speaking, if I wanted the GTK library itself to provide some customized, basic window furniture, i.e. a close box and a resize tab, so that I would not need a window manager, what would I have to do

how to put a background pixmap in a clist

2003-02-20 Thread cyberchris
hi there... can anybody tell my ho to put a background pixmap in an clist?? maybe it is not possible??? i have no problem to create a vbox, scroll window or an clist, but i'am not able to put a background pixmap in an scroll list. i can put a background pixmap in an window, it is also no

Re: Gtk documentation with function descriptions

2003-02-20 Thread Holczer Szilard
http://www.gtk.org/tutorial/ 2003-02-19, sze keltezssel Neil Freeman ezt rta: Hi, Sorry for the newbie question but is there some Gtk documentation available which actually describes the various Gtk functions. I have downloaded the api references from http://www.gtk.org/api/ but this

Re: Gtk documentation with function descriptions

2003-02-20 Thread Neil Freeman
Hi, I forgot to mention that I'm using Gtk v1.2 - the downloadable api reference for v2.0 has very detailed descriptions of the functions but the api reference for v1.2 does not have these. I've also downloaded the tutorial but this does not have an easy reference section for the various

Re: One quick question...

2003-02-20 Thread Diego Zuccato
Kyle Cardoza wrote: Hypothetically speaking, if I wanted the GTK library itself to provide some customized, basic window furniture, i.e. a close box and a resize tab, so that I would not need a window manager, what would I have to do to the source code? Would editing the source of the

Re: [gtkmm] Re: pthreads with gtk/gtkmm

2003-02-20 Thread Enrico Costanza
klaus triendl wrote: To be precise, the function that I am trying to put in a thread is: void *test(void *arg){ Args *a = (Args *) arg; Gtk::Main kit(a-argc, a-argv); gdk_rgb_init(); //initialize gtk rgb, used to display images MyCameraFramework myCameraFramework(640, 480, false);

Re: [gtkmm] Re: pthreads with gtk/gtkmm

2003-02-20 Thread Enrico Costanza
Enrico Costanza wrote: klaus triendl wrote: To be precise, the function that I am trying to put in a thread is: void *test(void *arg){ Args *a = (Args *) arg; Gtk::Main kit(a-argc, a-argv); gdk_rgb_init(); //initialize gtk rgb, used to display images MyCameraFramework

Re: [gtkmm] Re: pthreads with gtk/gtkmm

2003-02-20 Thread Paul Davis
I am using gtkmm1.2: do I have to upgrade to 2.2? no, but gtkmm2 is a lot cleaner in many areas. if you don't have much code written yet, it would probably be a good idea. If I create a separate thread in MyCameraFramework, shall I pass to the thread a reference to this, so that then I can

Re: XServer connection?

2003-02-20 Thread Paul Davis
Some days ago I wrote an e-mail talking about how can a GTK application forked can get a XServer connection. Some answers told me to look in old e-mais of GTK-list, but I am writing no, not old emails. the FAQ. but anyway, on closer inspection, thats not the issue you have. again

how can i grab the focus use tab key?

2003-02-20 Thread zhuj
hi, i want to grab the widget one by one use tab key. but i don't know how to. Please give me answer. Thanks! Regards zhuj

Re: [gtkmm] Re: pthreads with gtk/gtkmm

2003-02-20 Thread Enrico Costanza
Paul Davis wrote: My problem can be easily described as a producer-consumer problem. The producer uses gtkmm to display its status and for some Adjustments; the consumer produces sounds according to the producer results. i don't really understand the problems you think you are facing.

Modify behaviour to select more than one item in GtkListStore

2003-02-20 Thread Emmanuel Di Pretoro
Hi everybody, I want to modify the behaviour of my GtkTreeView/GtkListStore. I can select more than one item, but I don't want to use 'Ctrl+Click' to select another item. I've searched into the documentation, but I haven't found anything. I know how to connect a function to my

Re: Modify behaviour to select more than one item in GtkListStore

2003-02-20 Thread Sven Neumann
Hi, Emmanuel Di Pretoro [EMAIL PROTECTED] writes: I want to modify the behaviour of my GtkTreeView/GtkListStore. I can select more than one item, but I don't want to use 'Ctrl+Click' to select another item. gtk_tree_selection_set_mode (gtk_tree_view_get_selection (view),

i18n

2003-02-20 Thread Holczer Szilard
I have a problem with internation character using. If I insert theese somewhere, like menus, button, ect. the gtk send me Gtk-WARNING **: Invalid input string message, and the application broke. What can I do with it? ___ gtk-list mailing list [EMAIL

GTKTree

2003-02-20 Thread Endy
Hi everyone, Im trying to use a GTKTree with GTK 1.2 but i dont know how to use it and how works the function. Can somebody explain me and give me a example of coding a GTKTree ? Thx for help ! Endy

Re: One quick question...

2003-02-20 Thread Owen Taylor
On Thu, 2003-02-20 at 03:09, Kyle Cardoza wrote: Hi. I just have a quick question for someone vell-versed in the internals of GTK. Hypothetically speaking, if I wanted the GTK library itself to provide some customized, basic window furniture, i.e. a close box and a resize tab, so that I

Re: i18n

2003-02-20 Thread Sven Neumann
Hi, Holczer Szilard [EMAIL PROTECTED] writes: I have a problem with internation character using. If I insert theese somewhere, like menus, button, ect. the gtk send me Gtk-WARNING **: Invalid input string message, and the application broke. All strings must be UTF-8 encoded. If you need to

Re: Modify behaviour to select more than one item in GtkListStore

2003-02-20 Thread Allin Cottrell
On Thu, 20 Feb 2003, Emmanuel Di Pretoro wrote: I want to modify the behaviour of my GtkTreeView/GtkListStore. I can select more than one item, but I don't want to use 'Ctrl+Click' to select another item. I'm not sure if this is exactly what you're after, but in my app I have a liststore set

Re: NULL values in Gtk{List|Tree}Store ?

2003-02-20 Thread Diego Zuccato
Diego Zuccato wrote: Is it possible to store null (SQL-like semantics) values in a Gtk*Store ? If yes, how could I test if a cell is null ? Is GValue the answer? If yes, how can I get/set a GValue from a constant (for example, how do I set GValue one to contain the integer 1 ?). The only two

Why are the virtual functions static?

2003-02-20 Thread Martin Stoilov
Hi all, I am relatively new with GTK and I believe I am misunderstanding the concept of the type system. That is why I need a little help here. Looking at the source files of GTK it looks like that all functions that resemble C++ virtual functions and the type system configures when the the type

Re: Why are the virtual functions static?

2003-02-20 Thread Owen Taylor
On Thu, 2003-02-20 at 18:07, Martin Stoilov wrote: Hi all, I am relatively new with GTK and I believe I am misunderstanding the concept of the type system. That is why I need a little help here. Looking at the source files of GTK it looks like that all functions that resemble C++ virtual

the endless cycle of resizing

2003-02-20 Thread Paul Davis
this is an old problem i've had for about 2 years with GTK. i just want to see if anyone has any new ideas for how to deal with it. the problem arises when you put two widgets that both dynamically resize themselves (to match the size of their contents) into a box/table and tell them to fill it.

Re: the endless cycle of resizing

2003-02-20 Thread Havoc Pennington
On Thu, Feb 20, 2003 at 10:22:47PM -0500, Paul Davis wrote: this is an old problem i've had for about 2 years with GTK. i just want to see if anyone has any new ideas for how to deal with it. the problem arises when you put two widgets that both dynamically resize themselves (to match the