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 only
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, foreground,
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
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
- 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 =
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
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
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 contain just
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 a
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!
Eduardo
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
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
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, NULL);
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
14 matches
Mail list logo