BonoboViewFrame

Name

BonoboViewFrame -- the container side frame for a BonoboView

Synopsis



struct      BonoboViewFrame;
struct      BonoboViewFrameClass;
BonoboViewFrame* bonobo_view_frame_construct
                                            (BonoboViewFrame *view_frame,
                                             BonoboClientSite *client_site,
                                             Bonobo_UIContainer uih);
BonoboViewFrame* bonobo_view_frame_new      (BonoboClientSite *client_site,
                                             Bonobo_Unknown uih);
void        bonobo_view_frame_bind_to_view  (BonoboViewFrame *view_frame,
                                             Bonobo_View view);
Bonobo_View bonobo_view_frame_get_view      (BonoboViewFrame *view_frame);
BonoboClientSite* bonobo_view_frame_get_client_site
                                            (BonoboViewFrame *view_frame);
GtkWidget*  bonobo_view_frame_get_wrapper   (BonoboViewFrame *view_frame);
void        bonobo_view_frame_set_covered   (BonoboViewFrame *view_frame,
                                             gboolean covered);
Bonobo_UIContainer bonobo_view_frame_get_ui_container
                                            (BonoboViewFrame *view_frame);
void        bonobo_view_frame_view_activate (BonoboViewFrame *view_frame);
void        bonobo_view_frame_view_deactivate
                                            (BonoboViewFrame *view_frame);
void        bonobo_view_frame_set_zoom_factor
                                            (BonoboViewFrame *view_frame,
                                             double zoom);

Description

The BonoboViewFrame is the container side control interface for its attached remote BonoboView. The view frame can be used to set the zoom factor on the embedded view using the bonobo_view_freame_set_zoom_factor function.

Details

struct BonoboViewFrame

struct BonoboViewFrame;


struct BonoboViewFrameClass

struct BonoboViewFrameClass {
	BonoboControlFrameClass parent_class;

	POA_Bonobo_ViewFrame__epv epv;

	/* Signals. */
	void (*user_activate)       (BonoboViewFrame *view_frame);
	void (*user_context)        (BonoboViewFrame *view_frame);
};


bonobo_view_frame_construct ()

BonoboViewFrame* bonobo_view_frame_construct
                                            (BonoboViewFrame *view_frame,
                                             BonoboClientSite *client_site,
                                             Bonobo_UIContainer uih);

Initializes view_frame with the parameters.


bonobo_view_frame_new ()

BonoboViewFrame* bonobo_view_frame_new      (BonoboClientSite *client_site,
                                             Bonobo_Unknown uih);


bonobo_view_frame_bind_to_view ()

void        bonobo_view_frame_bind_to_view  (BonoboViewFrame *view_frame,
                                             Bonobo_View view);

Associates view with this view_frame.


bonobo_view_frame_get_view ()

Bonobo_View bonobo_view_frame_get_view      (BonoboViewFrame *view_frame);

Associates view with this view_frame.


bonobo_view_frame_get_client_site ()

BonoboClientSite* bonobo_view_frame_get_client_site
                                            (BonoboViewFrame *view_frame);


bonobo_view_frame_get_wrapper ()

GtkWidget*  bonobo_view_frame_get_wrapper   (BonoboViewFrame *view_frame);


bonobo_view_frame_set_covered ()

void        bonobo_view_frame_set_covered   (BonoboViewFrame *view_frame,
                                             gboolean covered);

This function either covers or uncovers the View embedded in a BonoboViewFrame. If the View is covered, then the embedded widgets will receive no Gtk events, such as mouse movements, keypresses, and exposures. When the View is uncovered, all events pass through to the BonoboView's widgets normally.


bonobo_view_frame_get_ui_container ()

Bonobo_UIContainer bonobo_view_frame_get_ui_container
                                            (BonoboViewFrame *view_frame);


bonobo_view_frame_view_activate ()

void        bonobo_view_frame_view_activate (BonoboViewFrame *view_frame);

Activates the BonoboView embedded in view_frame by calling the activate() Bonobo_Control interface method on it.


bonobo_view_frame_view_deactivate ()

void        bonobo_view_frame_view_deactivate
                                            (BonoboViewFrame *view_frame);

Deactivates the BonoboView embedded in view_frame by calling a the activate() CORBA method on it with the parameter FALSE.


bonobo_view_frame_set_zoom_factor ()

void        bonobo_view_frame_set_zoom_factor
                                            (BonoboViewFrame *view_frame,
                                             double zoom);

Requests the associated view to change its zoom factor the the value in zoom.

See Also

BonoboControlFrame, BonoboView