Is there an easy way to print a generic GtkImage to a cairo context? I
currently have code that in essence does the following:
image = GTK_IMAGE(gtk_image_new_from_file(data->filename));
pixbuf = gtk_image_get_pixbuf(image);
cr = gtk_print_context_get_cairo_context(print_context);
On Sun, 2006-11-05 at 02:52 +, Peter Clifton wrote:
> Hi,
>
> I have been browsing the docs (and Google) to see if I can use an
> GtkEntryCompletion with a GtkComboBoxEntry widget. So far, it looks like
> the answer is "perhaps".
I implemented GtkComboBoxEntry completion for GnuCash. Take a
On Thu, 2005-06-30 at 14:00 +0200, Colossus wrote:
>
> I have a gtk_dialog with a gtk_entry and a button. Before
> clickink Ok the user must supply a filename in the gtk_entry.
> The problem: if the user doesn't do this I have a gtk_message_dialog
> appears with an error message but to give contro
On Thu, 2005-05-19 at 16:23 -0400, David Hampton wrote:
> Does anyone know if getting the data to be right aligned in a resized
> column is possible? I'd appreciate any pointers.
Never mind. I had overlooked the expand parameter to
gtk_tree_view_column_pack_start (), thinking it was
I'm having problems with data alignment in a tree view column in
gtk-2.4. I can get the data right aligned by either setting the xalign
property on the tree column (and using a column in the model to set the
alignment to 1.0) or directly setting the xalign property on the cell
renderer to the valu