gdk_draw_line takes GdkDrawable as first parameter.
try using drawing_area->window instead.
--
Regards,
Amol
On Fri, 2010-03-19 at 13:34 +0800, Tolic Ma wrote:
> Hi,everyone!
>
> I want to draw something on GtkDrawingArea when I click a GtkButton,but I
> don't know how to
this expected/supported use case or am i doing something wrong here?
Thanks for your time.
--
Thanks and Regards,
Amol
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
mix of these in some cases.
Are such scenarios discouraged or is their any workaround available?
thanks for your time.
--
Regrads,
Amol
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
Try setting background to textwindow of GtkTextView.
you can get text_window through gtk_text_view_get_window
(textview,window_type);
I don't remember exact syntax though.
Regards,
Amol
On Tue, 2009-06-30 at 15:54 +0800, winsty wrote:
> Hi, All
>
> I want to set a backgr
Scrollbars are not visible and arrows are still
displaying.
Is their any easy way to disable arrows for GtkMenu and enable scrolling
via Scrollbars.
Thanx for your time.
Regards,
Amol
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
On Tue, 2008-04-22 at 23:14 +, BJörn Lindqvist wrote:
> 2008/4/22 amol <[EMAIL PROTECTED]>:
> >
> > Hi
> > I have a TreeView with two columns one pixbuf and one text.
> > when i have large text in text column the height of text column never
> > incr
way to achieve this so that we get correct cell
height.
Thanx for your time.
Regards,
Amol.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
way to achieve this so that we get correct cell
height.
Thanx for your time.
Regards,
Amol.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi
Try this
gtk_im_context_get_preedit_string (GTK_TEXT_VIEW
(text_view)->im_context, &preedit_string, NULL,
&cursor_pos);
.
.
gtk_im_context_reset (GTK_TEXT_VIEW (text_view)->im_context);
Regards,
Amol
On Fri, 2008-03-28 at 12:33 +0900, KwangYul Se
file
while object creation.
What is achieved doing by gtk_widget_set_name with Id specified in ui
file.(gtkrc and ui Creator must be always in sync for themes to be work
correctly )
I am planning to get rid of overriding set/get_name of buildable in
GtkWidget. Does it will have any adverse effect?
Reg
and that properties will be
applied in parser_finished.
Regards
Amol
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
his widget on parent GdkWindow or is there any
other way to display widgets with cellrenderer?
Are there any guidelines to write custom cellrenderer which will display
any GtkWidget?
Thanks in advance.
Regards,
Amol
___
gtk-app-devel-list mailing list
Hi,
instead of depending on treeview default key handling.
you can capture key press event on treeview and try to use
gtk_tree_view_set_cursor (). with treeviewcolumn set to text column.
hope this solves ur problem.
regards,
Amol.
On Thu, 2007-07-26 at 09:35 -0400, Dave Foster wrote:
> Hi fo
is changed.
Moral of story :- How to restrict item width to value less than required
width.
Thanx
-Amol
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
your list has 10 rows then "10" will be returned.
3. gtk_list_store_remove (GtkListStore *list_store,GtkTreeIter *iter);
Regards,
Amol.
On Wed, 2007-06-20 at 10:47 +0200, Felipe wrote:
> Hi,
>
> Perhaps a stupid question, but I searched unsuccessfully in the
> documen
;
5. width = widget->requisition.width;
6. }
Thanks and Regards,
Amol.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
16 matches
Mail list logo