Re: Adding a callback to a GtkAction

2006-03-19 Thread John Cupitt
On 3/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > toolbar item. Obviously I'm missing something. How do you add a callback > to a GtkAction item? For a regular pushbutton item, make a table of GtkActionEntry: static GtkActionEntry mainw_actions[] = { { "NewColumn",

Widgets inside a GtkDrawingArea

2006-03-19 Thread Sander Marechal
Hello, I am writing a hearts game for GNOME using glade and the libglade XML loader. The main playing area is a big GtkDrawingArea. I need to add a button in the middle of the drawing area during the beginning of the game (when you are passing cards to another player). This button needs to di

Adding a callback to a GtkAction

2006-03-19 Thread beckenba
Hi, Evidently, earlier methods of creating items for menus and toolbars have been replaced in GTK 2.4 with GtkAction items. I have been unable to figure out how to associate a callback function with a GtkAction item. gtk_action_new() does not include a parameter for a callback, and there

Find Signal Name, in callback handler.

2006-03-19 Thread Muthiah Annamalai
Dear friend, I want to know if its possible to find Signal Name, in callback handler. Im writing language bindings and I need to evaluate some designs on routing callbacks; with a fair amount of searching on archives of this ML, I dont find this question answered well, enough. Q: void handler(GO

Re: treeview, gtk and mysql

2006-03-19 Thread Daniel Espinosa
2006/3/19, Juan Pablo <[EMAIL PROTECTED]>: > > rupert wrote: > > > Great idea, the documentation is a bit complicated for me, so are > > there more howtos for this(without line numbers) and with small > examples? > > > It took me a lot to get started with it, specially because the api > changed jus

Re: treeview, gtk and mysql

2006-03-19 Thread Juan Pablo
rupert wrote: > Great idea, the documentation is a bit complicated for me, so are > there more howtos for this(without line numbers) and with small examples? > It took me a lot to get started with it, specially because the api changed just when i started... je. > Also im not sure if I should use

Re: Question about gtk_file_selection_new

2006-03-19 Thread zz
On Sunday 19 March 2006 14:27, you wrote: Am Sonntag, den 19.03.2006, 11:44 +0100 schrieb [EMAIL PROTECTED]: > > is there a way to make file selection dialog box created with > gtk_file_selection_new > also display hidden files?? gtk_file_chooser_set_show_hidden. I wonder why you need this, thoug

Re: Question about gtk_file_selection_new

2006-03-19 Thread Christian Neumair
Am Sonntag, den 19.03.2006, 11:44 +0100 schrieb [EMAIL PROTECTED]: > > is there a way to make file selection dialog box created with > gtk_file_selection_new > also display hidden files?? gtk_file_chooser_set_show_hidden. I wonder why you need this, though. -- Christian Neumair <[EMAIL PROTECTE

Question about gtk_file_selection_new

2006-03-19 Thread zz
Hi, is there a way to make file selection dialog box created with gtk_file_selection_new also display hidden files?? I RTFM and studied the source but was not able to figure it out. Thanks in advance for your time. Tito ___ gtk-app-devel-list mailin

Label alignment inconsistent between gtk/pango versions?

2006-03-19 Thread Olivier Fourdan
Hi all, I'm facing some trouble with gtk label alignment and the ellipsize property with Pango. It seems that the alignment of the label changes when setting the ellipsize property and I can't find how to get a consistent behavior between gtk+-2.6 with pango 1.10 and gtk+-2.8 and pango 1.12.