On 6/27/07, Dave Howorth <[EMAIL PROTECTED]> wrote:
> Gaurav Jain wrote:
> > For the purpose of my application, I need to programmatically
> > determine the actual 'exposed' region of a gdk window. The exposed
> > region should not include any obscured region
Hi,
For the purpose of my application, I need to programmatically
determine the actual 'exposed' region of a gdk window. The exposed
region should not include any obscured regions of the window. For
example, if there's some external window in front of my application's
window, then the exposed re
Hi,
Is there a way for me to specify what name should be shown in the
taskbutton if my GTK application has multiple windows open at the same
time, and all are grouped together and all are shown under the same
taskbutton?
By default is shows the name of the binary executable (example:
"binary-name
On 5/6/07, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote:
> On Sun, May 06, 2007 at 10:22:52AM +0530, Gaurav Jain wrote:
> >
> > I'm trying to create some GtkImageMenuItems in the menu of my
> > application, and I found strange sizing issues.
> >
> &
Hi,
I'm trying to create some GtkImageMenuItems in the menu of my
application, and I found strange sizing issues.
I noticed that even if the height of the GtkImage that is added to the
menu item is 16 pixels, the actual height of the menu item that is
shown on the screen is dependent on the width
Hi all,
We are stuck in a problem where we want to create an offscreen
snapshot/pixbuf of a GtkWidget without showing the widget (realizing
is allowed). We want the same pixels which are displayed on the screen
when the widget is shown. Gdk does not do any drawing operations upon
realize. It does
Hi,
Sorry about reposting this. I didn't receive any responses to this
message I sent last week on this list, so maybe my earlier message was
missed by the list members. I would really appreciate if I can get
some any tips on the problem I'm facing!!
In my application I need to resize and move
Hi,
In my application I need to resize and move a GtkWindow to a new
location, and I'm using the gtk_window_resize() and gtk_window_move()
APIs for the purpose. However, these APIs do not work sometimes.
For example, refer my sample program at the end of this mail. If the
initial location of my
:
> On Thu, Mar 22, 2007 at 10:48:48AM +0530, Gaurav Jain wrote:
> > I need to determine the actual desktop bounds usable by a GTK
> > application on a Linux Desktop. The screen size (the one returned by
> > gdk_screen_width() and gdk_screen_height()) also includes window
&
Hi,
I need to determine the actual desktop bounds usable by a GTK
application on a Linux Desktop. The screen size (the one returned by
gdk_screen_width() and gdk_screen_height()) also includes window
manager bars such as the task bar, the panels on top and bottom of the
screen, etc. and I don't w
Hi,
I need to find out the Script code for a given Unicode string. I
found the API g_unichar_get_script() available in GLIB 2.10 which does
this, but this doesn't seem to have support for Chinese script. For
e.g., is it possible to find out if the given character falls under
Traditional Chinese
> >
> This might sound obvious, but make sure you do have a font with the
> necessary Japanese characters.
>
How do I find out which font I need? And how to install that font and
ensure that GTK picks it up?
___
gtk-app-devel-list mailing list
gtk-app-d
On 4/24/06, Lina Kemmel <[EMAIL PROTECTED]> wrote:
>
> > Is there a way to get this working on Solaris or AIX too?
> > Do I need to install some fonts or set some environment
> > variables?
>
> Was your LANG set to xxXX.UTF-8?
Yes, I tested with LANG set to ja_JP.UTF-8, and the problem persists
on
Hello,
I have written a small GTK program (attached below), which is supposed
to display some japanese text in a GtkEntry and GtkTextView. The text
is UTF8, and I have extracted the UTF8 values from an application that
contained some valid UTF8 japanese text.
The problem is that when I run this
On 2/23/06, Colossus <[EMAIL PROTECTED]> wrote:
> Gaurav Jain wrote:
> > All your "filenames" can be retrieved and freed by looping through the list:
> > Something like:
> > GSList *next_ptr = Files_to_Add;
> > while (next_ptr != NULL)
> > {
&g
>
> Ok, I understood the matter. Let me explain my problem now:
> I'm adding drag and drop to my app. To retrieve the content
> of the selection dropped into the window of my app I use
>
> gtk_selection_data_get_uris. The problem is that I get the filename
> like this: file:///home/gt/GTA%20 and so
ipts.html#pango-script-for-unichar
> There is a function called
> pango_script_for_unichar() which does precisely
> what you want. it is supported from version 2.6
> onwards.
> Thanks
> Neelesh
>
>
> On 10/21/05, Gaurav Jain
> <[EMAIL PROTECTED]> wrote:
>
ell-defined problem. What if your
> text contains Thai,
> Latin, Hebrew, and Japanese? How could any function
> return a single
> script in that case?
>
> Regards,
> John Boncek
> [EMAIL PROTECTED]
>
> -Original Message-
> From: [EMAIL PROTECTED]
&g
Hi,
I need to find a way to determine the "best script"
corresponding to a given Unicode string/char. For
example, if I have some unicode text containing Thai
characters, I want to be able to say that it is
"thai". And if the text contains latin characters, I
need to be able to say it is "latin"
Hi,
I could not find a way to determine the current
keyboard layout on Linux. I need to do some
conditional handling for Vietnamese keyboard input.
Is there an API that I can use (whether by GTK/Glib or
any generic Linux API). I want something in line with
the Win32 API called "GetKeyboardLayou
ould be highly appreciated.
Copying to the gtk-app-devel-list, as some of my queries concern Gtk
widgets and their working.
Thanks once again,
Gaurav
On 10/10/05, Botond Botyanszki <[EMAIL PROTECTED]> wrote:
>
> On Mon, 10 Oct 2005 15:09:36 +0530
> Gaurav Jain <[EMAIL PROTECTED]&g
Thanks Behdad for the quick response.
-Gaurav
On 9/30/05, Behdad Esfahbod <[EMAIL PROTECTED]> wrote:
>
> On Fri, 30 Sep 2005, Gaurav Jain wrote:
>
> > Hi,
> >
> > I'm trying to print a date onto a GtkLabel in "ar_SA" (arabic) locale.
> For
>
Hi,
I'm trying to print a date onto a GtkLabel in "ar_SA" (arabic) locale. For
this, I'm using the API g_date_strftime(), in which the format being passed
is "%c" (to use the current locale's prefered format).
The problem is that the output generated is a corrupt value, such as
"[??? %.1d ???
Hello!
I have a small program (code at the end of this mail), in which I'm trying
to achieve the following:
- Type Vietnamese characters, such that the key-presses are processed by a
GtkLayout, and the actual text is shown on a GtkLabel. I cannot directly use
a GtkEntry or a GtkTextView, (which bo
It's on Linux (Turbolinux 10).
--- Tor Lillqvist <[EMAIL PROTECTED]> wrote:
> Gaurav Jain writes:
> > I'm using the Japanese input method called "ATOK"
>
>
> Hmm, is this on Windows or Unix?
>
> In case Windows, where can one find
Hi,
I'm using the Japanese input method called "ATOK" for
inputting text into GtkEntry, and am facing the
following problem: If I have multiple GtkEntry widgets
in my application, and I type something in any field
after enabling the IME (by pressing CTRL + SPACE), and
then I confirm my input (by p
Thanks Behdad.
On 8/17/05, Behdad Esfahbod <[EMAIL PROTECTED]> wrote:
> On Wed, 17 Aug 2005, Gaurav Jain wrote:
>
> > Hi,
> >
> > I have a Unicode text, and I need to detect its direction by some BiDi
> > algorithm (i.e., whether it is Left-to-right or Righ
Thanks Matthias for the quick response.
On 8/17/05, Matthias Clasen <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-08-17 at 17:32 +0530, Gaurav Jain wrote:
> > Hi,
> >
> > I have a Unicode text, and I need to detect its direction by some BiDi
> > algorithm (i.e., whe
Hi,
I have a Unicode text, and I need to detect its direction by some BiDi
algorithm (i.e., whether it is Left-to-right or Right-to-left). For
example, I need to look for the first "strong" directional character
in the text, and find out its direction. Is there a way I can do that
using some GTK
AIL PROTECTED]> wrote:
> On Fri, 5 Aug 2005, Gaurav Jain wrote:
>
> > Hi,
> >
> > I'm trying to set the text in a GtkLabel to a UTF-8 string, which
> > contains some arabic characters first, followed by my email address in
> > angle brackets, followed by m
Hi,
I'm trying to set the text in a GtkLabel to a UTF-8 string, which
contains some arabic characters first, followed by my email address in
angle brackets, followed by my name in round brackets. For e.g., a
sample value is:
X <[EMAIL PROTECTED]> (Gaurav Jain)
In the above, '
Thank you Damon. Yes, indeed, I need to decode the data from URI encoding!
Gaurav
On 8/3/05, Damon Chaplin <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-08-03 at 16:05 +0530, Gaurav Jain wrote:
> > Hi,
> >
> > I'm trying to support drag-and-drop functionality in w
Hi,
I'm trying to support drag-and-drop functionality in which any file
can be dragged from the explorer, such as Nautilus, and dropped onto
my application. My application is supposed to try and open this file.
I need to support ANY file name, including complex scripts, so I need
to know the for
Hi,
I'm trying to implement a function that needs to be called "before"
the menu attached to the menu bar is "mapped". I tried doing this by
connecting to the "activate" signal for the menu item which is the
parent of this menu, but what's happening is that the "map" callback
is getting called BE
for
me to know which one of the accelerators was invoked.
Is there a way for me to know this? Can I "catch" accelerators before
they result in the "activate" signal?
Thanks again,
Gaurav
On 7/8/05, Daniel Pekelharing <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-07-08 at
Thank you so much!
Yes, that worked.
-Gaurav
On 7/8/05, Daniel Pekelharing <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-07-08 at 13:32 +0530, Gaurav Jain wrote:
> > Hi,
> >
> > I'm creating a "pop-up" menu which is shown when I click inside a
> >
Hi,
I'm creating a "pop-up" menu which is shown when I click inside a
button. I added accelerators to the menu items (CTRL + B), but these
do not work. If I explicitly pop up the menu and then click on the
menu item, then the "activate" signal is called for the menu item, but
not if I use the ac
Hi,
I sent this query to the i18list, but received no response. Maybe it
is more of a generic issue with GtkTextTags, so I thought I will post
it to this list.
Please do let me know if you have any comments on this problem.
Thanks,
Gaurav
--
I'm trying to allow rich-text editing in a GtKTe
I'm using Xterm.
On 6/11/05, Mohammed Sameer <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 09, 2005 at 12:29:02PM +0530, Gaurav Jain wrote:
> > Yes, this time it worked! In fact even without setting the font to
> > the Code2000 font for the GtkEntry, I'm able to type
ummarize, use
> setxkbmap (I can't speak for any KDE-controlpanel-setting-thingy) to
> make sure your keyboard does what you want, and use
> PangoFontDescription to make sure you have are using a font that can
> handle.
>
> Salaam,
> Adam.
>
>
it). It's free, and it also supports
> Tengwar (again, whee). I'm sure there are thousands of other fonts
> that have Arabic, tho. In fact, in might come with ... whatever X
> comes with.
>
> Hope this helps,
> Adam.
>
> On 6/8/05, Gaurav Jain <[EMAIL
Hello,
I need to enter Right-To-Left language characters (such as Arabic and
Hebrew) in a GtkEntry widget. I'm using Red Hat Linux 9.0 and have
logged in the Arabic language session. I then set the locale to
"ar_SA.utf8". Then I run my small GTK program which has a GtkEntry
widget.
But I'm stu
Hi All,
I wish to enforce a maximum character limit on a GtkTextView. For
GtkEntry, there is an API called gtk_entry_set_max_length(), but I
couldn't find one for GtkTextView.
Is there a way to enforce this limit somehow?
Thanks,
-Gaurav
___
gtk-app-d
43 matches
Mail list logo