Gtk Printing - Print Image with new Gtk API and Cairo

2006-10-25 Thread Alessandro Oliva
I have played with the new gtk+ printing support. I use gtk+ 2.10.6 with MinGW on Windows. I have a pixbuf and I want to print it in A4 format. the problem is: when beginning the print process, the Dimension of the printing file (to printer) is 126 MB !!, the process is slow and heavy

Re: No dynamic libs of glib

2006-10-25 Thread Laurent ISENEGGER
Actually, i changed the configure option from --host=arm to --host=arm-linux. I also removed my old arm.cache file and created a new one and now it s working properly. The problem wasn't in the libtool but probably in my cache file which wasn't indicating the right values to compile the shared

Re: GIOChannel

2006-10-25 Thread Tristan Van Berkom
Kevin DeKorte wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, I'm using the following code fragment ok = g_spawn_async_with_pipes(/tmp, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, std_in, std_out, std_err,

Re: GtkTextView: Applying tags at the cursor

2006-10-25 Thread Samuel Lidén Borell
I've already solved this, but thanks for your reply. Madhusudan E wrote: Hi, You can use GtkTextTag. Tags should be in the GtkTextTagTable for a given GtkTextBuffer before using them with that buffer. gtk_text_buffer_create_tag() is the best way to create tags. See gtk-demo for numerous

Programming with GTK

2006-10-25 Thread Steffen Gutmann
Consider the following macros: #define WindowObject gtk_widget_new(GTK_TYPE_WINDOW #define VBoxObject gtk_widget_new(GTK_TYPE_VBOX #define HBoxObject gtk_widget_new(GTK_TYPE_HBOX #define LabelObject gtk_widget_new(GTK_TYPE_LABEL #define ButtonObject gtk_widget_new(GTK_TYPE_BUTTON ... // add one

Re: Programming with GTK

2006-10-25 Thread Progss
Steffen Gutmann napisa?(a): Consider the following macros: #define WindowObject gtk_widget_new(GTK_TYPE_WINDOW #define VBoxObject gtk_widget_new(GTK_TYPE_VBOX [...] #define End NULL) ... allows to write code like this: GtkWidget *win, *label, *ok, *cancel; win =

GTK Programming with Strings

2006-10-25 Thread Sam Fourman Jr.
Hello, I am New to GTK programming, could someone point me to a tutorial, or tell me the library I would find basic string manipulation functions in, my native language is C, and I was hoping that gtk would have some Visual Basic like String Functions in it, and type conversions like string to

Re: GTK Programming with Strings

2006-10-25 Thread Allin Cottrell
On Wed, 25 Oct 2006, Sam Fourman Jr. wrote: I am New to GTK programming, could someone point me to a tutorial, or tell me the library I would find basic string manipulation functions in... glib. See for example http://developer.gnome.org/doc/API/2.0/glib/glib-String-Utility-Functions.html