Re: How to inserts a widget in the toolbar at the given position

2007-11-16 Thread Micah Carrick
I answered this in your post here: http://www.gtkforums.com/about876.html

 From the GtkToolItem API:

"GtkToolItems are widgets that can appear on a toolbar. To create a 
toolbar item that contain something else than a button, use 
gtk_tool_item_new(). Use gtk_container_add() to add a child widget to 
the tool item."

- Micah Carrick

  Developer - http://www.micahcarrick.com
  GTK+ Forums - http://www.gtkforums.com



sphurti durgade wrote:
> hello,
> how to inserts a widget in the toolbar at the given position. 
> because gtk_toolbar_insert_widget is deprecated 
>
> i tried with gtk_tool_button_new  (GtkWidget *icon_widget, const gchar 
> *label);
> instead of icon_widget i used other widget (e.g GtkHScale) it is able to show 
> hscale  in its default size , 
> but  not getting the control of scale , it acts like a button.
>  
> how i  can get control of hscale ?
> is it a right way to insert a widget in the toolbar ?
>
> can anybody  help me?
>
> Thank you 
> sphurti
>
>
>
>
>
>   Get the freedom to save as many mails as you wish. To know how, go to 
> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
>   
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: How to make GtkTreeView and GtkTextView scrollable?

2007-11-16 Thread Eduardo M KALINOWSKI
On Nov 16, 2007 1:58 PM, AlannY <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I want to make my GtkTreeView and GtkTextView scrollable automaticaly.
> How to do it?
>
> It's lame question. I know.

Just add them inside a GtkScrolledWindow.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


How to make GtkTreeView and GtkTextView scrollable?

2007-11-16 Thread AlannY
Hi.

I want to make my GtkTreeView and GtkTextView scrollable automaticaly.
How to do it?

It's lame question. I know.

Thank you.
-- 
|\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,3-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to set background color for a pango layout being printed ?

2007-11-16 Thread Enrico Tröger
On Wed, 17 Oct 2007 08:40:04 +0200, "Miroslav Rajcic"
<[EMAIL PROTECTED]> wrote:

> On Windows (GTK+ 2.10.11 from http://gladewin32.sourceforge.net/),
> when using print preview operation (.emf image format) everything
> seems to work,
> but I get strange drawing artefacts in the picture.
> Individual text layouts are drawn with gray lines either on the left
> and right layout bounds or on the
> top and bottom bounds!! Some layouts are even completely squared in
Did you solve this? I got the same problem.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How to inserts a widget in the toolbar at the given position

2007-11-16 Thread sphurti durgade
hello,
how to inserts a widget in the toolbar at the given position. 
because gtk_toolbar_insert_widget is deprecated 

i tried with gtk_tool_button_new  (GtkWidget *icon_widget, const gchar *label);
instead of icon_widget i used other widget (e.g GtkHScale) it is able to show 
hscale  in its default size , 
but  not getting the control of scale , it acts like a button.
 
how i  can get control of hscale ?
is it a right way to insert a widget in the toolbar ?

can anybody  help me?

Thank you 
sphurti





  Get the freedom to save as many mails as you wish. To know how, go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list