Re: GTK Socket implementation for DirectFB.

2007-09-24 Thread Attilio Fiandrotti
mohan soumya wrote: Hi, Can anyone let me know whether Directfb support for GTK Socket is implemented ? I am using GTK Socket in my application which uses DirectFB.(gtk_socket_new to create socket). To get the id of window,the function _gtk_socket_windowing_get_id is

Re: gtkfb

2007-09-24 Thread Attilio Fiandrotti
window manager based on gtkfb? Yes, GtkFB has one integrated in it: you must uncomment a define somewhere in the backend to have it built. regards Attilio Fiandrotti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: Using Pango or Cairo with GTK on DirectFB

2007-06-05 Thread Attilio Fiandrotti
Hi could you please provide a working version of this application? many thanks Attilio Dennis Hall ha scritto: I'm having trouble with refresh when I used either Pango or Cairo calls with GTK over Direct FB. I've modified the scribble.c sample so that some test text is drawn using pango

Re: comipile gtk-dirctfb failed

2007-02-03 Thread Attilio Fiandrotti
wuxiaotian wrote: hello, I used gtk+-2.10.6 to compile gtk-directfb: ./configure --prefix=/usr --with-gdktarget=directfb --without-x make then, it failed like this: snip/ and then, I used gtk+-2.10.9 to compile, but I get the same error like that. Can anyone give me any pointers on

Re: Reducing GTK+ footprint

2007-01-24 Thread Attilio Fiandrotti
[EMAIL PROTECTED] wrote: Greetings, Can any one tell me or give me some links to know how I can reduce the footprint of GTK. Actually I want to remove some widgets (like frame, color selection, file selection etc) which I am not using in my application. Also I want to

Re: Reducing GTK+ footprint

2007-01-24 Thread Attilio Fiandrotti
] wrote: Hi... Ya even our requirement is to save the space on installation media. Can't we get a copy of mklibs tool for FC5 / FC6 as we cant use that debian-installer. Regards, Richa -Original Message- From: Attilio Fiandrotti [mailto:[EMAIL PROTECTED] Sent

Re: GtkWidgets on DirectFB

2006-12-26 Thread Attilio Fiandrotti
And, if you are a debian user, you don't have to compile anything as gtk/dfb libraries and development files are already available in unstable and exprimental :) Attilio Kumar Siddharth wrote: Hi, GTK has already been ported to DirectFB. You just need to compile and link to GTKDFB. Code

Re: GTK-GUI and video display

2006-12-16 Thread Attilio Fiandrotti
[EMAIL PROTECTED] wrote: Hi, I need to run a GTK GUI and display video via DFB. I understand that the GTK-GUI would be using layer 0 (primary) and video would use Layer 1. However when the GUI comes up then the GUI/video layer is not visible. Any inputs on whether any changes are required

Re: Scrolling a Tree View before it's realized

2006-12-05 Thread Attilio Fiandrotti
Attilio Fiandrotti wrote: Liam R E Quin wrote: On Sat, 2006-11-11 at 11:51 +0100, Attilio Fiandrotti wrote: [...] I eventually managed this by scrolling the treeview from a callback that gets fired after the expose event is fired. In order to have scrolling performed only the first time

Re: Scrolling a Tree View before it's realized

2006-11-11 Thread Attilio Fiandrotti
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 11, 2006 at 11:51:20AM +0100, Attilio Fiandrotti wrote: Attilio Fiandrotti wrote: Hi In an application i add many items to a ListStore and make it scroll on the fly to the default option row, like

Re: Scrolling a Tree View before it's realized

2006-11-11 Thread Attilio Fiandrotti
Liam R E Quin wrote: On Sat, 2006-11-11 at 11:51 +0100, Attilio Fiandrotti wrote: [...] I eventually managed this by scrolling the treeview from a callback that gets fired after the expose event is fired. In order to have scrolling performed only the first time expose event is fired, i use

Scrolling a Tree View before it's realized

2006-11-10 Thread Attilio Fiandrotti
Hi In an application i add many items to a ListStore and make it scroll on the fly to the default option row, like this for (i = 0; i NUMBER_OF_ITEMS; i++) { gtk_list_store_append (store, iter); gtk_list_store_set (store, iter, MY_COLUMN, mystrings[i], -1); if

Re: GTK+ 2.10.4 released

2006-09-26 Thread Attilio Fiandrotti
Matthias Clasen wrote: On 9/25/06, Attilio Fiandrotti [EMAIL PROTECTED] wrote: And the DFB backend was indeed found to be broken by the gtk-gnome Debian team when they tried to build a DFB flavour of GTK for use in the debian-installer. Is there a way to check if the DirctFB backend builds

Re: GTK+ 2.10.4 released

2006-09-25 Thread Attilio Fiandrotti
And the DFB backend was indeed found to be broken by the gtk-gnome Debian team when they tried to build a DFB flavour of GTK for use in the debian-installer. Is there a way to check if the DirctFB backend builds correctly before a major GTK relase, like (i guess) is done for X and win32

Tree views, check cell renderers and ENTER button problem

2006-07-05 Thread Attilio Fiandrotti
Hi In my application i have a treeview where each row contains a check cell renderer and the signal row-activated is sent by the treeview to a callback function that clicks the OK button that makes the application to process data. Now, when a check cell has focus, both SPACEBAR and ENTER keys

TreeView and default widget

2006-06-04 Thread Attilio Fiandrotti
Hi In my interface i have a button which grabs default focus like this GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT); gtk_widget_grab_default (button) so that it gets activated when the user presses enter key, and i also have a Treeview which grabs focus like this

Re: TreeView and default widget

2006-06-04 Thread Attilio Fiandrotti
David Nečas (Yeti) wrote: On Sun, Jun 04, 2006 at 12:07:17PM +0200, Attilio Fiandrotti wrote: In my interface i have a button which grabs default focus like this GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT); gtk_widget_grab_default (button) so that it gets activated when

Help on GTK font settings

2005-12-10 Thread Attilio Fiandrotti
Hi As announced [1] by Frans Pop, the debian-installer is soon going to go be graphical: it makes use of GTK for the user interface and the DirectFB GDK backend insead of X. Since the debian-installer supports more than 60 different languages we need to take glyphs from different fonts [2]:

Gtk terminal widget

2005-11-09 Thread Attilio Fiandrotti
Hi all i need to deveop a Gtk app that shows up a shell terminal. I know two GtkWidgets do exists: ZVT http://developer.gnome.org/doc/API/zvtterm/zvtterm.html VTE http://developer.gnome.org/doc/API/2.0/vte/index.html The app will run over DirectFrameBuffer and not X and has to be as small as

A couple of questions

2005-11-06 Thread Attilio Fiandrotti
Hi all i've two questions: 1)About GtkTreeView widgets Is it correct using the following two calls gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(view), gtk_tree_model_get_path(model, iter), NULL, FALSE, 0.5, 0); gtk_tree_view_set_cursor (GTK_TREE_VIEW(view), gtk_tree_model_get_path(model,

Re: how to reduce the size of tiny-x

2005-09-15 Thread Attilio Fiandrotti
sadhees kumar wrote: Dear friends, I configured for tiny-x and compiled the X11 source, everything was right but finally the size of my tiny-x was 113MB. Since i want to use this in an embedded application it must be within 8MB. Have anybody experianced this, if so please let me know it will

Re: GTK widget to display pie charts

2005-08-23 Thread Attilio Fiandrotti
Jody Goldberg wrote: On Tue, Aug 23, 2005 at 07:26:40PM +0200, Attilio Fiandrotti wrote: hi i was looking for a gtk widget to display simple 2d pie chart, but i couldn't find nothing but this http://mail.gnome.org/archives/gtk-list/1998-August/msg00369.html does such a widget do exists

A question about correct widget packaging sequence

2005-07-29 Thread Attilio Fiandrotti
hi everyone we're trying to port the debian-installer gtk frontend from X to Direct Frame Buffer: in the debian-installer gtk frontend code sequences of instructions like this are often used button = gtk_button_new_with_label(Hello world!); frame = gtk_frame_new(blah blah); gtk_container_add