Skip to main content

Questions tagged [visibility]

Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].

visibility
0 votes
1 answer
114 views

How do I use a JDK class that isn't visible to me?

I am new to Java so please bear with me. I am trying to use the JDK class "com.sun.tools.example.debug.expr.ExpressionParser". When I compile my code, I get the following error: "...
gcworker44's user avatar
2 votes
0 answers
65 views

Template, visibility, static attribute and shared libraries

The question is about the static attribut of an instanciation of a template class when used by a shared library and by an executable. The test contains a few classes: PoolObject (the template class), ...
Nitro's user avatar
  • 21
0 votes
1 answer
58 views

Writing to a volatile field and reading another volatile field: Is the happens-before-rule valid?

Question: Is this statement true: „A write to a volatile field happens-before every subsequent read of that or another volatile field.“ On How to understand happens-before consistent I found the ...
dibo's user avatar
  • 1
0 votes
1 answer
81 views

How to hide one button on click on another button

I have two button one is show and another is hide. When i clicked on show button that time hide button design should be change and when i click on hide button when hide button come from old design ...
nitish chauhan's user avatar
0 votes
1 answer
176 views

Rust visibility from child module to outside

I'm learning about Rust, and trying to figure out the visibility rules for modules. I have the following code: fn x() -> u8 { 5 } struct Person { name: String, } mod example { use ...
DACUS's user avatar
  • 33
-1 votes
1 answer
86 views

How to correctly link a C++ library that has different behaviors depending on its compilation?

I have a library called Print and the function println, which mimics printf. If compiled with the directive USE_DEBUG_PRINT, println actually prints something. If compiled without this define, it ...
Eduardo's user avatar
  • 180
0 votes
0 answers
61 views

Go Property Visibility & API Design

So I have a LineItem struct that contains a Price property that needs to be exported for SQLx to set the value from the database but the desired value requires logic to be applied to get the value (e....
JSP's user avatar
  • 571
1 vote
1 answer
198 views

Swift Package's extension property's visibility

When defining a property as an Extension in a Swift Package, if it was created with internal visibility, is it safe to define a property of the same name on the side that uses it? Or could there be ...
Byoungchan Lee's user avatar
0 votes
0 answers
41 views

Android - Why this TextView is moving its position after changing its visibility programmatically?

Initially both TextViews are visible and aligned correctly: After clicking the Button, I set both TextViews visibility to GONE. Second time I click on the Button, I set the visibility again to ...
xerez's user avatar
  • 69
0 votes
0 answers
23 views

I read that 'hidden' comps cause issues in IE. What is the safest method to show/hide elements for cross browser compatibility?

I have several components such as tooltips and menus that are not always visible. I read somewhere that visibility = hidden can throw errors in IE but I don't know how accurate that is. If so, for ...
Yvonne Ayala's user avatar
0 votes
2 answers
122 views

Dynamically added Views not visible

I am trying to add TextViews to a LinearLayout wrapped in a ScrollView during runtime, but the visibility of the TextViews will eventually not display on screen even though their visibility flags are ...
brutal11's user avatar
0 votes
1 answer
78 views

C++ program symbols visibility issues in libgcc and ld

For this question: version-script and hidden visibility I saw this comment: Visibility annotations are preferred to linker scripts as they allow more aggressive optimization by compilers. Scripts are ...
Home of the Brave's user avatar
0 votes
2 answers
189 views

How to make sibling div element visible when list item is hovered on

I have the following simple header component with navigation items, which when hovered on should add the following two css rules to the mega-menu div element so that it appears: visibility: visible; ...
cts's user avatar
  • 1,046
0 votes
0 answers
148 views

What are the visibility rules for package com.sun.tools.javac.code in oracle open jdk version 20?

I am writing a database management program in java in maven in intellij IDEA. For now, the code is only connecting me to the database in MySQL. The code itself has no errors. However, upon running it, ...
amama's user avatar
  • 1
0 votes
1 answer
346 views

Hide divi module with advanced custom fields

I hope anyone can help me. Is there a way to toggle the visibility of a Divi module with ACF in Wordpress? I tried it myself an searched in forums
Phil's user avatar
  • 1

15 30 50 per page