anyone know a way to save a gtktextview/gtktextbuffer with embedded
gdkpixbuf into a file. I am calling gtk_text_buffer_get_slice then
g_file_set_contents. Idealy it will be good if i can just call
g_file_get_contents to output the saved buffer onto the gtktextview.
void save_grt (GtkTextView *
Jeffrey Barish wrote:
> Is there a reason to block/unblock a handler rather than disconnect/connect
> it? Is the overhead for block/unblock significantly lower?
Off the top of my head I can think of one: block/unblock will certainly not
change handler order, while disconnect/connect may. Overhead
Hi All,
I'm working on a very large Application that has already shipped in multiple
languages on Mac and Windows. There's a whole scheme in place which already
works to extract strings from a special text file so I don't need to use any
of the gettext stuff as described in the gtkmm documentatio
Is there a reason to block/unblock a handler rather than disconnect/connect
it? Is the overhead for block/unblock significantly lower?
One thing I don't like about block/unblock is that GTK issues a warning when
you try to unblock a handler that is not blocked, but there is no way to
ask first whe
Hi,
I created a gtkcellrenderer this way:
pixbuf_cell = gtk_cell_renderer_pixbuf_new();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT
(img_struct->thumbnail_iconview), pixbuf_cell, FALSE);
g_object_set (pixbuf_cell, "width", 115, "xalign", 0.5, "yalign", 0.5, NULL);
gtk_cell_layout_set_attributes (
On Mon, November 17, 2008 7:48 am, Michael Ott wrote:
> Hello Andrew!
>
>> >> I am attempting my first Gnome applet creation and I found a great
tutorial at http://projects.gnome.org/ORBit2/appletstutorial.html .
Unfortunately, I am stuck where the example goes to load an image. I
>> can
>> >> comp
hi,
Xavier Toth schrieb:
> I didn't get any responses so I'm trying again.
>
Look at GtkCellRenderer and its "cell-background" property.
Stefan
> On Mon, Nov 3, 2008 at 8:37 AM, Xavier Toth <[EMAIL PROTECTED]> wrote:
>
>> I'd like to have different background colors on combobox entries.
>>