I have a program that adds a GdkPixbuf to a GtkTextView. I would like to right
click on the image and capture the mouse click event and execute a callback
function. Is there any way of achieving this using GdkPixbuf?
Thanks,
Ferdinand
___
gtk-app-devel
I have a GtkTextView as part of my application along with a GtkSpinButton
object to control the font size on the GtkTextView.
If I make a selection in the text and then click in the entry portion of the
spin button and then click the arrows, everything works fine.
However, if I do not click in
--- On Wed, 1/30/13, Andrew Potter wrote:
> If you are getting an iterator warning, you may be trying to
> use an
> invalidated GtkTextIter. Be sure to read
> http://developer.gnome.org/gtk3/stable/TextWidget.html
I have nothing in there that modifies the buffer. I just create the view and
add
gt; just like the
> one you describe.
>
> HTH
>
> 2013/1/30 Ferdinand Ramirez
>
> > I have encountered a strange error followed by a crash
> when I add the
> > following object to a GtkTextView by creating a child
> anchor and call
> > gtk_widget_show
I have encountered a strange error followed by a crash when I add the following
object to a GtkTextView by creating a child anchor and call gtk_widget_show_all.
The object that is added
The object that is added to the child anchor is a GtkFrame inside which is a
GtkTable and each cell of the ta
Suppose I add a widget to GtkTextView and want to resize the widget manually
using the mouse, is there some property I would need to set to enable this
functionality?
The widget that needs to be resized is a GtkFrame.
And what about for a Pixbuf with an image in it? How can I resize this manua
Does anyone here know what is the best way to display a table in GtkTextView? I
want to have a table with borders and editable cells like in MS Word.
Thanks for any advice to achieve this,
-Ferdinand
___
gtk-app-devel-list mailing list
gtk-app-devel-li
How do I insert an image into a GtkTextBuffer incrementally so that I can see
that the image is loading instead of having to wait for some time with no
apparent activity and seeing it all at once after a time lag?
I looked at GdkPixbufLoader, but am unable to figure out how to use this.
I call
I have a GtkTreeView and I am able to double click and trigger my function on
double clicking.
Now if I add a renderer and make it editable, double clicking always goes to
edit mode for the cell.
Instead, I want to edit only when I single click on an already selected cell
and my double click
--- On Tue, 6/5/12, Chris Vine wrote:
> Are you calling
> gtk_scrolled_window_add_with_viewport()? If so, use
> gtk_container_add() instead, because tree views have native
> scrolling
> capabilities.
Tried out both. I'm in the process of trying out other options like using boxes
and will let y
--- On Tue, 6/5/12, James Tappin wrote:
> I think the solution is to place the treeview in a gtk_scrolled_window
> rather than using an hbox and an explicit scrollbar.
The reason for trying out with an explicit hbox is that the column headers
scroll out of view with a gtk_scrolled_window.
-F
Apologies if this has been asked before, but I searched online and could not
find any discussion on this issue and I did not find anything on the
documentation page.
I have a treeview and a scrollbar which are both within a hbox. The hbox is
within a window. When I expand the treeview, the wind
--- On Mon, 4/23/12, Dov Grobgeld wrote:
> Lots of years ago we spoke about having a direction override as a paragraph
> attribute, but we never got around to implementing it.
I think it is a good idea to give control to the programmer rather than make it
automatic.
Making everything automat
How can I force GtkTextView object to use left to right rendering when I type
in a character which has the default behavior of being from a RTL language? I
need this behavior when I mix some RTL characters with LTR characters and the
first character on a line is of RTL type.
The following lines
ly created somewhere in the code? If it needs to be explicitly
created, does anyone know where in Mozilla code it gets created so that I can
use it as an example?
Thanks,
-Ferdinand
--- On Thu, 2/23/12, Ferdinand Ramirez wrote:
> Is it possible to use PangoFcDecoder
> with GtkTextView so th
Is it possible to use PangoFcDecoder with GtkTextView so that I can use the
glyph index to render the glyphs? If so, at what point does the program invoke
the callback provided as a parameter in
pango_fc_font_map_add_decoder_find_func?
The documentation says it is called during create_font and
I added a glyph using fontforge to a ttf file. The glyph is in private use area
and has the code 010005. How do I display this using gtk? However, my program
does not display the glyph.
If I add the glyph with unicode value with something like 46DB or a value which
is not in the private use are
--- On Thu, 2/2/12, Emmanuel Thomas-Maurin wrote:
> I think you may use something like:
> gtk_editable_set_position(GTK_EDITABLE(entry), -1)
>
The problem is that I don't seem to have access to location_entry in
GtkFileChooser for me to use the above function. Do you know how I can get hold
o
If I set the filename using gtk_file_chooser_set_current_name from a callback
method for key-press-event, the filename shows up in the text entry box, but
the cursor position is at 0 once the filename has been set. How do I set the
cursor position to be at the end of the string I set as the file
area in gtkfilechooser
To: "Ferdinand Ramirez"
Cc: gtk-app-devel-list@gnome.org
Date: Friday, January 13, 2012, 3:58 AM
On 13 January 2012 04:34, Ferdinand Ramirez wrote:
When I type in the filename into the filename entry area in gtkfilechooser
dialog, I want to intercept the te
When I type in the filename into the filename entry area in gtkfilechooser
dialog, I want to intercept the text that is entered, modify it and then
display it in the filename area. How do I do this?
For a regular text buffer, I know how to do this: I can do a
gtk_text_view_get_buffer and then h
Does anyone here know how I can create and load a custom font for my
application from the source code? What method or methods do I need to invoke to
load the font that I can render? What rendering methods do I need to override
so that my custom fonts are the ones rendered? Are there any examples
is there another thread with this
information?
Thanks,
-Ferdinand
--- On Thu, 7/14/11, Ferdinand Ramirez wrote:
> From: Ferdinand Ramirez
> Subject: Questions on creation of glyphs
> To: gtk-app-devel-list@gnome.org
> Date: Thursday, July 14, 2011, 6:33 PM
> I want to create a
I want to create a small set (say 5-10 symbols) of custom glyphs and want these
symbols to be part of the alphabet of a fictional language. I also want to
assign unused unicode values to these symbols and want these symbols to appear
on my application as well as the terminal when I press specifi
24 matches
Mail list logo