expose_event_callback(GtkWidget *widget, GdkEventExpose* event, gpointer user_data)
{
}
I was drawing to widget-window where as I should have drawn to the event-window.
Thanks,
Mohit
On 4/3/06, Mohit Kumar [EMAIL PROTECTED] wrote:
Hi All,
I am trying to write a text on a GtkTextView using
Hi All,
I am trying to write a text on a GtkTextView using gdk_darw_layout at expose-event. The expose-event connects to the widget using the g_signal_connect_after call. I have everything that is required, i.e. the pangolayout, x,y coordinates to be displayed etc. What I get is that in the
Hi All,
I am trying to display a monochrome image in a GdkPixbuf. I have the
monochrome data in memory and to use it for the call
gdk_pixbuf_new_from_data i need to convert into RGB Pixels. Hence
where ever I find 1 in bit, it is replaced with 3 bytes woth 0xFF and
whereever I find a 0 in a bit,
I have set the alpha as false Valdis. But still the image is not coming up.
Thanks,
MohitOn 9/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:On Tue, 27 Sep 2005 11:49:42 +0530, Mohit Kumar said: Could anyone help me with where am I going wrong?
If that pixbuf has an alpha channel, 24 bits
Hi All,
I am not able to capture the mouse motion event on my window. I have written the following piece of code:
#include gtk/gtk.h
#include stdio.h
static gboolean motion_event_callback(GtkWidget *widget,GdkEvent *event,gpointer data)
{
printf(Motion Event called );
return FALSE;
}
int
Hi All,
I have written the following piece of code:
#include gtk/gtk.h
int mainDialog()
{
GtkWidget *window;
window = gtk_file_chooser_dialog_new(Save File, NULL,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL,GTK_STOCK_SAVE,GTK_RESPONSE_OK,NULL);
maintains a loop for you, and when a certain condition occurs,
it exits the loop for you.
-vc
- Original Message -
From: Mohit Kumar [EMAIL PROTECTED]
To: gtk-list@gnome.org
Sent: Monday, July 25, 2005 7:28 PM
Subject: SIGSEGV in gtk_main_quit()
Hi All,
I have written
Hi All,
The Gnome documentation says that GtkPreview is deprecated and one
should not use this in new code.
What should one use if one wants exactly the above thing?
However I want to do the following:
1. Implement a GtkDialog which displays a grayscale or a RGB image.
2. Allows me to choose a
Hi All,
This question is pretty trivial, but I have been unable to find a
solution to this and hence I am posting it here, hoping to get a
solution frmo anyone of you.
The scenario is this, I have a list of Names to be displayed in the
GTK OPTION MENU. Now, the list of names is static. When the
Thanks for a prompt reply Jean. In the case of a combo box, how should
I be going about it then?
Thanks,
Mohit
On 5/10/05, Jean Bréfort [EMAIL PROTECTED] wrote:
Le mardi 10 mai 2005 à 17:31 +0530, Mohit Kumar a écrit :
Hi All,
This question is pretty trivial, but I have been unable
Hi All,
I am facing an error while trying to configure (when I run
./configure) for the gtk+2.6.0.
configure: error: Xft Pango backend is required for x11 target
What should I do to remove this?
I have installed pango 1.7.0 on my system and it did not crib about
not being able to find Xlib,
11 matches
Mail list logo