Hi everyone.
Forgive me if my question is going to sound silly. But I'm new to GTK so I
have to ask.
I want to create a button that would not be as a normal button, but with a
shape I have from a PNG image(with transparency)
I have tried to do "shape_combine_mask" , created the masks, b
ion look like ?
_
From: Gautam Ravi [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 3:19 PM
To: Demetris Zavorotnichenko
Cc: gtk-list@gnome.org
Subject: Re: Button from an image (round Button)
Hi,
GtkButton has its own GdkWindow. It can be accessed like GTK_WIDGET
(bu
tam Ravi
Sent: Friday, February 29, 2008 12:11 PM
To: gtk-list@gnome.org
Subject: Re: Button from an image (round Button)
2008/2/28 Demetris Zavorotnichenko <[EMAIL PROTECTED]>:
I have done it like this:
gtk_widget_shape_combine_mask(GTK_WIDGET(button->window),mask,0,0);
You are t
om an image (round Button)
2008/2/29 Demetris Zavorotnichenko <[EMAIL PROTECTED]>:
>>>>>gtk_widget_shape_combine_mask(GTK_WIDGET(button),mask, ...);
doesn't work like this with errors
>>>>gdk_window_shape_combine_mask (button->window, mask, ...);
Hi everyone.
How can I make a text field Widget be the default one when I start my
application? (So that the cursor is already located there and ready for
typing)
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-li
Hi everyone.
I'm working with list Views now.
I populated them but I can't seem to make the text align on the columns as I
want.
Here is what I do:
Renderer_text = gtk_cell_renderer_text_new();
G_object_set (G_OBJECT (renderer_text),
"font", FO
Hi to all.
I have a Tree View on a scrolling window. I need to be able to scroll it by
pressing on the tree and dragging it.
I need this since the application runs on a Touchscreen device so I don't
want to Drag the window Up and Down from the scroll bars but by pressing on
it and dragging.
How
Tnx Guys, I have it working now :)
I appreciate all the help
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Ok, I got the scrolling window to scroll from my mouse.
But I have another problem now.
I need to set the vadhustment on the window as soon as I create it, so the
window is in the center and not in the beginning.
But when I do :
Gtk_adjustment *adj = gtk_scrolled_window_get_vadjustment
(GTK_SCR
To: gtk-list@gnome.org
Subject: RE: List Scrolling
> -Original Message-
> From: Demetris Zavorotnichenko
>
> Ok, I got the scrolling window to scroll from my mouse.
>
> But I have another problem now.
>
> I need to set the vadhustment on the window as soon
Hi.
Cani add a Text with a transparent background to a GtkWidget Image ? Or some
other widget ?
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[mailto:[EMAIL PROTECTED] On
Behalf Of Demetris Zavorotnichenko
Sent: Tuesday, December 09, 2008 2:14 PM
To: gtk-list@gnome.org
Subject: RE: Change font and Foreground of a Label
Tnx. Much appriciate the help.
-Original Message-
From: Tadej Borovšak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, De
Tnx. Worked fine.
Once again I appreciate your help on this :)
-Original Message-
From: Tadej Borovšak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 3:05 PM
To: Demetris Zavorotnichenko
Cc: gtk-list@gnome.org
Subject: Re: Change font and Foreground of a Label
GdkColor is
Tnx. Much appriciate the help.
-Original Message-
From: Tadej Borovšak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 2:01 PM
To: Demetris Zavorotnichenko
Cc: gtk-list@gnome.org
Subject: Re: Change font and Foreground of a Label
Hello.
Have a look at gtk_widget_modify_
Hi all.
How can I change the font and foreground of a Label ?
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
15 matches
Mail list logo