Re: GtkTextView: inserting text with different styles

2008-03-17 Thread Carlos Pereira
Lance Dillon wrote: > - Original Message > From: Carlos Pereira <[EMAIL PROTECTED]> > To: gtk-app-devel-list@gnome.org > Sent: Monday, March 17, 2008 8:46:02 AM > Subject: GtkTextView: inserting text with different styles > > Hi, > Let's say I have a GtkTextView, with two color tags, red a

Re: gdk_pixbuf_composite() issue

2008-03-17 Thread Brian J. Tarricone
Michael wrote: > I've got a pixbuf, created with gdk_pixbuf_new() (let's call it > combined_pixbufs), with a width/height large enough to accommodate two > pixbufs side-by-side. I then have two smaller pixbufs: pixbuf_one and > pixbuf_two. I'm trying to use gdk_pixbuf_composite() to combine them

Re: gtktextview render hint-rules effect

2008-03-17 Thread Brian J. Tarricone
Damien Caliste wrote: > Hello, > > Le 17/03/2008, mbrz <[EMAIL PROTECTED]> a écrit : >> How can I realise a hint-rules effect like gtktreeview to have lines >> rendered with alternating row colors on my gtktextview widget ? > You can do this: > g_object_set(G_OBJECT(treeView), "rules-hint", TRUE,

Re: gdk_pixbuf_composite() issue

2008-03-17 Thread Andrey Tsyvarev
Michael wrote: > I've got a pixbuf, created with gdk_pixbuf_new() (let's call it > combined_pixbufs), with a width/height large enough to accommodate two > pixbufs side-by-side. I then have two smaller pixbufs: pixbuf_one and > pixbuf_two. I'm trying to use gdk_pixbuf_composite() to combine them

cross platform gtk app

2008-03-17 Thread adrian vraciu
hello i need to create a GUI app that will run on a windows PC, Linux X11, Windows CE PDA, and the Nokia N800. It will be basically a dockable tool bar with some floating bitmaps. It's like the bottom bar in windows with the start button. Normally it's docked, meaning all the other windows a

Re: How create new GtkBin widget

2008-03-17 Thread Eduardo M KALINOWSKI
gege2061 wrote: > I know, I would like create a container that can contain several > widgets but just one is showing (to simulate a superposition of > widgets). > Use a GtkNotebook with the tabs hidden. It works perfectly for that purpose. -- O maior castigo para um bígamo? Duas sogras! Edua

Re: How create new GtkBin widget

2008-03-17 Thread gege2061
2008/3/17, Emmanuele Bassi <[EMAIL PROTECTED]>: > a Bin is a specialised container that can contain just *one* child at a > time. I know, I would like create a container that can contain several widgets but just one is showing (to simulate a superposition of widgets). > if you want to implement

Re: How create new GtkBin widget

2008-03-17 Thread Emmanuele Bassi
On Mon, 2008-03-17 at 15:46 +0100, gege2061 wrote: > Hello, > > I would like create a new GtkBin widget, but this simple code (writen in > Vala) don't work (label don't show) : > > using Gtk; > > public class Gtk.StackContainer : Gtk.Bin > { > } a Bin is a specialised container that can contai

gdk_pixbuf_composite() issue

2008-03-17 Thread Michael
I've got a pixbuf, created with gdk_pixbuf_new() (let's call it combined_pixbufs), with a width/height large enough to accommodate two pixbufs side-by-side. I then have two smaller pixbufs: pixbuf_one and pixbuf_two. I'm trying to use gdk_pixbuf_composite() to combine them side-by-side into com

How create new GtkBin widget

2008-03-17 Thread gege2061
Hello, I would like create a new GtkBin widget, but this simple code (writen in Vala) don't work (label don't show) : using Gtk; public class Gtk.StackContainer : Gtk.Bin { } public class Test { public static int main (string[] args) { Gtk.init (ref args); Gtk.Window win = new Gtk.W

Re: GtkTextView: inserting text with different styles

2008-03-17 Thread Lance Dillon
- Original Message From: Carlos Pereira <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Monday, March 17, 2008 8:46:02 AM Subject: GtkTextView: inserting text with different styles Hi, Let's say I have a GtkTextView, with two color tags, red and blue: text_view = gtk_text_vi

Re: gtktextview render hint-rules effect

2008-03-17 Thread Damien Caliste
Hello, Le 17/03/2008, mbrz <[EMAIL PROTECTED]> a écrit : > How can I realise a hint-rules effect like gtktreeview to have lines > rendered with alternating row colors on my gtktextview widget ? You can do this: g_object_set(G_OBJECT(treeView), "rules-hint", TRUE, NULL); When you read the documen

gtktextview render hint-rules effect

2008-03-17 Thread mbrz
Hi there, How can I realise a hint-rules effect like gtktreeview to have lines rendered with alternating row colors on my gtktextview widget ? everybody can help me with this question? thanks. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnom

GtkTextView: inserting text with different styles

2008-03-17 Thread Carlos Pereira
Hi, Let's say I have a GtkTextView, with two color tags, red and blue: text_view = gtk_text_view_new (); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view)); gtk_text_buffer_create_tag (buffer, "my_red", "foreground", "#ff", NULL); gtk_text_buffer_create_tag (buffer, "my_blue", "for

Re: Problem with references

2008-03-17 Thread Gabriele Greco
> > After some headache with my gtk C++ classes I've found with a small > > test program this fact about the gobject references: > Sorry, not sure what you're trying to do. Are you trying to do > something with gtkmm? Or are you creating your own bindings? I'm doing some experimental header on