Button from an image (round Button)

2008-02-27 Thread Demetris Zavorotnichenko
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

RE: Button from an image (round Button)

2008-02-28 Thread Demetris Zavorotnichenko
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

RE: Button from an image (round Button)

2008-02-29 Thread Demetris Zavorotnichenko
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

RE: Button from an image (round Button)

2008-02-29 Thread Demetris Zavorotnichenko
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, ...);

Default text

2008-11-19 Thread Demetris Zavorotnichenko
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

List Alignment

2008-11-25 Thread Demetris Zavorotnichenko
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

List Scrolling

2008-11-26 Thread Demetris Zavorotnichenko
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

RE: List Scrolling

2008-11-26 Thread Demetris Zavorotnichenko
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

RE: List Scrolling

2008-11-26 Thread 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 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

RE: List Scrolling

2008-11-27 Thread Demetris Zavorotnichenko
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

Text

2008-11-27 Thread Demetris Zavorotnichenko
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

RE: Change font and Foreground of a Label

2008-12-09 Thread Demetris Zavorotnichenko
[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

RE: Change font and Foreground of a Label

2008-12-09 Thread Demetris Zavorotnichenko
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

RE: Change font and Foreground of a Label

2008-12-09 Thread Demetris Zavorotnichenko
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_

Change font and Foreground of a Label

2008-12-09 Thread Demetris Zavorotnichenko
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