||I am currently attempting to write my first GTK program, which is
|| a graphical mp3 jukebox frontend to the mpg123 linux command.
||I wish to have each button on a grid correspond to a different mp3 track.
||To do this I pass a pointer to a string (the name of the mp3 file) to the
||respective
Alexandre wrote:
> Hi.
>
> I've searched for it in the pango reference but I haven't found..
> I realy want to know how to get the width and height of a character in
> pago, with it's PangoFontDescriptor..
> I know the character's width is not constant, but a average would be ok...
>
>
Our applications use GtkTextView widgets with diverse input validation
requirements. Some restrict input to numeric digits only, others have
length limits and other limits. The validation is done with callbacks on
the "insert-text" signal, rejecting any input that is invalid. This has
worked we
I have strings of various languages stored in a database. I can print the
strings in my cairo widget no problem. However, I need to figure out what
the ink size of the glyph is because different characters are taking up
different amounts of space. That is, I need to know how many pixels the
charact
06-10-10, Samuel Cormier-Iijima <[EMAIL PROTECTED]> napisaĆ(a):
>
> Yea, I wasn't sure whether to put a :-( or a :-) ( :-) ). The thing
> is, strings getting copied around so often seems like memory waste to
> me... when it passes the text to Pango, does that keep a pointer
> itself? freetype? ho
Yea, I wasn't sure whether to put a :-( or a :-) ( :-) ). The thing
is, strings getting copied around so often seems like memory waste to
me... when it passes the text to Pango, does that keep a pointer
itself? freetype? how many times is the same text kept multiple times
in memory? i guess for s
Peter Robinson <[EMAIL PROTECTED]> writes:
> I am writing a server application (using glib) in which I want to be
> able to (frequently) turn polling on and off for given sockets.
You may want to take a look at this:
http://www.daimi.au.dk/~sandmann/watch.h
http://www.daimi.au.dk/~sandmann/watc
On Tue, Oct 10, 2006 at 01:58:20PM -0400, Samuel Cormier-Iijima wrote:
> Whenever you set the text, the widgets will keep copies of the text
> for themselves. (they duplicated the string so it's not showing the
> actual contents of *your* string). To update it, you'll have to set
> the text again f
Whenever you set the text, the widgets will keep copies of the text
for themselves. (they duplicated the string so it's not showing the
actual contents of *your* string). To update it, you'll have to set
the text again for the widgets. :-(
Samuel
On 10/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
I am currently attempting to write my first GTK program, which is
a graphical mp3 jukebox frontend to the mpg123 linux command.
I wish to have each button on a grid correspond to a different mp3 track. To do
this I pass a pointer to a string (the name of the mp3 file) to the respective
button ca
[EMAIL PROTECTED] wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Mon, Oct 09, 2006 at 09:20:59AM +1000, Peter Robinson wrote:
>
>> Hi,
>> I am writing a server application (using glib) in which I want to be
>> able to (frequently) turn polling on and off for given sockets.
>>
>
Hi.
I've searched for it in the pango reference but I haven't found..
I realy want to know how to get the width and height of a character in pago,
with it's PangoFontDescriptor..
I know the character's width is not constant, but a average would be ok...
Other thing, if I need only to
Hi All,
I am creating a new widget say of CLASS A (like class table or so).
I need few key press events and I am achieving the same by
GtkBindingSet
But when I remove the widget from container, as in through
(Gtk_container_remove)
And then add another widget of same CLASS A to the container.
T
13 matches
Mail list logo